Close Menu

    Subscribe to Updates

    Get the latest creative news from FooBar about art, design and business.

    What's Hot

    Samsung launches Galaxy Z Fold7, Z Flip7 and Z Flip7 FE

    Samsung launches Galaxy Watch8 series

    FTC’s ‘click to cancel’ subscription rules thrown out by judges

    Facebook X (Twitter) Instagram
    • Artificial Intelligence
    • Business Technology
    • Cryptocurrency
    • Gadgets
    • Gaming
    • Health
    • Software and Apps
    • Technology
    Facebook X (Twitter) Instagram Pinterest Vimeo
    Tech AI Verse
    • Home
    • Artificial Intelligence

      Apple sued by shareholders for allegedly overstating AI progress

      June 22, 2025

      How far will AI go to defend its own survival?

      June 2, 2025

      The internet thinks this video from Gaza is AI. Here’s how we proved it isn’t.

      May 30, 2025

      Nvidia CEO hails Trump’s plan to rescind some export curbs on AI chips to China

      May 22, 2025

      AI poses a bigger threat to women’s work, than men’s, report says

      May 21, 2025
    • Business

      Cloudflare open-sources Orange Meets with End-to-End encryption

      June 29, 2025

      Google links massive cloud outage to API management issue

      June 13, 2025

      The EU challenges Google and Cloudflare with its very own DNS resolver that can filter dangerous traffic

      June 11, 2025

      These two Ivanti bugs are allowing hackers to target cloud instances

      May 21, 2025

      How cloud and AI transform and improve customer experiences

      May 10, 2025
    • Crypto

      Bitget Partners With UNTOLD Festival, Where Web3 Takes The Main Stage

      July 9, 2025

      Dogecoin (DOGE) Price Nears Key Resistance Again: Rally Or Another Rejection?

      July 9, 2025

      Fidelity Fuels Ethereum Buzz, But Bitcoin Sell Risk Stalls ETH Rally

      July 9, 2025

      BONK Jumps 60 % in a Week—Will Golden Cross Power a Breakout?

      July 9, 2025

      Crypto Firms in South Korea Could Soon Benefit from Government Subsidies and Tax Breaks

      July 9, 2025
    • Technology

      FTC’s ‘click to cancel’ subscription rules thrown out by judges

      July 9, 2025

      I put up these holiday lights last year—and they’re not coming down

      July 9, 2025

      Perplexity debuts Comet, a free AI browser (that currently costs $200)

      July 9, 2025

      I found the 10 best Prime Day PC tech deals under $50

      July 9, 2025

      Best Prime Day deals on Chromebooks (July 9)

      July 9, 2025
    • Others
      • Gadgets
      • Gaming
      • Health
      • Software and Apps
    Shop Now
    Tech AI Verse
    You are at:Home»Technology»Show HN: Penny-1.7B Irish Penny Journal style transfer
    Technology

    Show HN: Penny-1.7B Irish Penny Journal style transfer

    TechAiVerseBy TechAiVerseJune 2, 2025No Comments2 Mins Read0 Views
    Facebook Twitter Pinterest Telegram LinkedIn Tumblr Email Reddit
    Show HN: Penny-1.7B Irish Penny Journal style transfer
    Share
    Facebook Twitter LinkedIn Pinterest WhatsApp Email

    Show HN: Penny-1.7B Irish Penny Journal style transfer



    📰 Penny‑1.7B · Irish Penny Journal Style (GRPO)

    This is a style transfer from the Irish Penny Journal (1840) to Smollm2 using GRPO. For example, this response to “What is the capital of France”

    Verily, in the grand tapestry of European monarchies, the city of Paris, the seat of the mighty Emperor Napoleon, holds a place of singular distinction. This city, which hath borne the name of 'La Ville Lumière' for nigh on two centuries, doth shine forth as a beacon of art, culture, and intellect, its very existence a testament to the ingenuity and brilliance of its people. And so, it is with great honour and reverence that we declare Paris, the majestic capital of the French realm, to be our noble question's answer.
    

    Penny‑1.7B is a 1.7 billion‑parameter causal language model fine‑tuned with Group Relative Policy Optimization (GRPO) to emulate the 19ᵗʰ‑century prose of the Irish Penny Journal (1840). The RL stage ran for 6,800 policy steps, using a reward model trained to classify sentences as original IPJ vs modern translation. Maximizing this score nudges generations toward authentic Victorian‑era diction while retaining the general reasoning ability of the base SmolLM2 model.



    ✨ Key Facts

    Base model SmolLM2‑1.7B-Instruct
    Tuning method GRPO (RL)
    Policy steps 6,800
    Reward model MiniLM2 L6 384H classifier
    Optimiser AdamW 8‑bit · lr 5 × 10^⁻6
    Hardware 1× RTX A6000 (48 GB) · bf16



    🔬 Training & Data

    • Corpora

      • Irish Penny Journal 1840 (dleemiller/irish_penny_journal)
      • Modernized translations produced via rule‑based spelling normalisation plus manual post‑edit
    • Reward = classifier output



    ➡️ Intended Uses

    • Creative writing, educational content, or stylistic pastiche in Victorian‑era Irish English.
    • Research on RL‑based style transfer.

    Not recommended for: contemporary fact Q&A or contexts where archaic language could mislead readers.



    ⚠️ Limitations & Biases

    19ᵗʰ‑century texts can contain outdated social views. Outputs may reflect such biases or archaic spelling. Always review generations before use.



    💻 Quick Start

    from transformers import AutoModelForCausalLM, AutoTokenizer
    
    checkpoint = "dleemiller/Penny-1.7B"
    
    device = "cuda"  # or "cpu"
    
    tokenizer = AutoTokenizer.from_pretrained(checkpoint)
    # For multi‑GPU: install accelerate and use device_map="auto"
    model = AutoModelForCausalLM.from_pretrained(checkpoint).to(device)
    
    messages = [{"role": "user", "content": "What is the capital of France."}]
    input_text = tokenizer.apply_chat_template(messages, tokenize=False)
    inputs = tokenizer.encode(input_text, return_tensors="pt").to(device)
    
    outputs = model.generate(inputs,
                             max_new_tokens=512,
                             temperature=0.8,
                             top_p=0.9,
                             do_sample=True)
    
    print(tokenizer.decode(outputs[0]))
    



    📝 Citation

    @software{penny_1.7b_2025,
      title        = {Penny‑1.7B: Irish Penny Journal Style Language Model},
      author       = {Lee Miller},
      year         = 2025,
      publisher    = {Hugging Face},
      url          = {https://huggingface.co/dleemiller/Penny-1.7B}
    }
    



    📜 License

    Apache 2.0 (inherits from the base model).

    Share. Facebook Twitter Pinterest LinkedIn Reddit WhatsApp Telegram Email
    Previous ArticleHow far will AI go to defend its own survival?
    Next Article Arcol simplifies building design with browser-based modeling
    TechAiVerse
    • Website

    Jonathan is a tech enthusiast and the mind behind Tech AI Verse. With a passion for artificial intelligence, consumer tech, and emerging innovations, he deliver clear, insightful content to keep readers informed. From cutting-edge gadgets to AI advancements and cryptocurrency trends, Jonathan breaks down complex topics to make technology accessible to all.

    Related Posts

    FTC’s ‘click to cancel’ subscription rules thrown out by judges

    July 9, 2025

    I put up these holiday lights last year—and they’re not coming down

    July 9, 2025

    Perplexity debuts Comet, a free AI browser (that currently costs $200)

    July 9, 2025
    Leave A Reply Cancel Reply

    Top Posts

    New Akira ransomware decryptor cracks encryptions keys using GPUs

    March 16, 202527 Views

    OpenAI details ChatGPT-o3, o4-mini, o4-mini-high usage limits

    April 19, 202522 Views

    Rsync replaced with openrsync on macOS Sequoia

    April 7, 202519 Views

    6.7 Cummins Lifter Failure: What Years Are Affected (And Possible Fixes)

    April 14, 202517 Views
    Don't Miss
    Gadgets July 10, 2025

    Samsung launches Galaxy Z Fold7, Z Flip7 and Z Flip7 FE

    Samsung launches Galaxy Z Fold7, Z Flip7 and Z Flip7 FE Samsung has officially launched…

    Samsung launches Galaxy Watch8 series

    FTC’s ‘click to cancel’ subscription rules thrown out by judges

    I put up these holiday lights last year—and they’re not coming down

    Stay In Touch
    • Facebook
    • Twitter
    • Pinterest
    • Instagram
    • YouTube
    • Vimeo

    Subscribe to Updates

    Get the latest creative news from SmartMag about art & design.

    About Us
    About Us

    Welcome to Tech AI Verse, your go-to destination for everything technology! We bring you the latest news, trends, and insights from the ever-evolving world of tech. Our coverage spans across global technology industry updates, artificial intelligence advancements, machine learning ethics, and automation innovations. Stay connected with us as we explore the limitless possibilities of technology!

    Facebook X (Twitter) Pinterest YouTube WhatsApp
    Our Picks

    Samsung launches Galaxy Z Fold7, Z Flip7 and Z Flip7 FE

    July 10, 20252 Views

    Samsung launches Galaxy Watch8 series

    July 10, 20252 Views

    FTC’s ‘click to cancel’ subscription rules thrown out by judges

    July 9, 20252 Views
    Most Popular

    Ethereum must hold $2,000 support or risk dropping to $1,850 – Here’s why

    March 12, 20250 Views

    Xiaomi 15 Ultra Officially Launched in China, Malaysia launch to follow after global event

    March 12, 20250 Views

    Apple thinks people won’t use MagSafe on iPhone 16e

    March 12, 20250 Views
    © 2025 TechAiVerse. Designed by Divya Tech.
    • Home
    • About Us
    • Contact Us
    • Privacy Policy
    • Terms & Conditions

    Type above and press Enter to search. Press Esc to cancel.