Close Menu
TechTost
  • AI
  • Apps
  • Crypto
  • Fintech
  • Hardware
  • Media & Entertainment
  • Security
  • Startups
  • Transportation
  • Venture
  • Recommended Essentials
What's Hot

I hate to love Riverside’s AI-based “Rewind” for podcasters

First Voyage Raises $2.5M For Its Habit-Building AI Companion

Ford is launching a battery storage business to power data centers and the grid

Facebook X (Twitter) Instagram
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions
  • Disclaimer
Facebook X (Twitter) Instagram
TechTost
Subscribe Now
  • AI

    Creative Commons announces trial support for ‘pay-to-crawl’ AI systems.

    15 December 2025

    TIME named “Architects of AI” Person of the Year

    15 December 2025

    Runway releases its first global model, adds native audio to latest video model

    14 December 2025

    OpenAI hits back at Google with GPT-5.2 after ‘code red’ memo.

    14 December 2025

    Trump’s AI executive order promises ‘a rulebook’ – startups may find legal loophole instead

    13 December 2025
  • Apps

    Google’s ‘dark web reporting’ feature will no longer be available from February

    15 December 2025

    WhatsApp’s biggest market becomes the toughest test

    15 December 2025

    Google debuts ‘Disco’, a Gemini-powered tool for building web apps from browser tabs

    14 December 2025

    Google’s AI testing feature for clothes now only works with a selfie

    14 December 2025

    DoorDash driver faces felony charges after allegedly spraying customers’ food

    13 December 2025
  • Crypto

    New report examines how David Sachs may benefit from Trump administration role

    1 December 2025

    Why Benchmark Made a Rare Crypto Bet on Trading App Fomo, with $17M Series A

    6 November 2025

    Solana co-founder Anatoly Yakovenko is a big fan of agentic coding

    30 October 2025

    MoviePass opens Mogul fantasy league game to the public

    29 October 2025

    Only 5 days until Disrupt 2025 sets the startup world on fire

    22 October 2025
  • Fintech

    Coinbase starts onboarding users again in India, plans to do fiat on-ramp next year

    7 December 2025

    Walmart-backed PhonePe shuts down Pincode app in yet another step back in e-commerce

    5 December 2025

    Nexus stays out of AI, keeping half of its new $700M fund for India startup

    4 December 2025

    Fintech firm Marquis notifies dozens of US banks and credit unions of data breach after ransomware attack

    3 December 2025

    Revolut hits $75 billion valuation in new capital raise

    24 November 2025
  • Hardware

    Nvidia is reportedly weighing increasing H200 production to meet growing demand in China

    15 December 2025

    Pebble founder unveils $75 AI smart ring to record short notes with the push of a button

    10 December 2025

    Amazon’s Ring launches controversial AI-powered facial recognition feature on video doorbells

    10 December 2025

    Google’s first AI glasses are expected next year

    9 December 2025

    eSIM adoption is on the rise thanks to travel and device compatibility

    6 December 2025
  • Media & Entertainment

    I hate to love Riverside’s AI-based “Rewind” for podcasters

    16 December 2025

    Understanding the Dangerous Netflix-Warner Bros. Deal

    15 December 2025

    Disney signs deal with OpenAI to allow Sora to create AI videos with its characters

    11 December 2025

    YouTube TV will launch genre-based subscription plans in 2026

    11 December 2025

    Founder of AI startup Tavus says users talk to AI Santa ‘for hours’ a day

    10 December 2025
  • Security

    The flaw in the photo booth manufacturer’s website exposes customers’ photos

    13 December 2025

    Home Depot exposed access to internal systems for a year, researcher says

    13 December 2025

    Security flaws in the Freedom Chat app exposed users’ phone numbers and PINs

    11 December 2025

    Petco takes down Vetco website after exposing customers’ personal information

    10 December 2025

    Petco’s security bug affected customers’ SSNs, driver’s licenses and more

    9 December 2025
  • Startups

    First Voyage Raises $2.5M For Its Habit-Building AI Companion

    15 December 2025

    Harness hits $5.5B valuation with $240M raise to automate AI’s ‘post-code’ divide

    15 December 2025

    Mesa shuts down credit card that rewards cardholders for paying their mortgages

    14 December 2025

    Port raises $100M valuation from $800M round to take on Spotify’s Backstage

    14 December 2025

    Eclipse Energy’s microbes can turn dormant oil wells into hydrogen factories

    13 December 2025
  • Transportation

    Ford is launching a battery storage business to power data centers and the grid

    15 December 2025

    TechCrunch Mobility: Rivian’s survival plan involves more than cars

    14 December 2025

    India’s Spinny lines up $160m funding to acquire GoMechanic, sources say

    14 December 2025

    Inside Rivian’s big bet on self-driving with artificial intelligence

    13 December 2025

    Zevo wants to add robotaxis to its car-sharing fleet, starting with newcomer Tensor

    13 December 2025
  • Venture

    Lightspeed raises record $9 billion in new capital

    15 December 2025

    Runware raises $50 million in Series A to make it easier for developers to create images and videos

    12 December 2025

    Stanford’s star reporter understands Silicon Valley’s startup culture

    12 December 2025

    The market has “changed” and founders now have the power, VCs say

    11 December 2025

    Tiger Global plans cautious business future with new $2.2 billion fund

    8 December 2025
  • Recommended Essentials
TechTost
You are at:Home»AI»StarCoder 2 is an AI that generates code that runs on most GPUs
AI

StarCoder 2 is an AI that generates code that runs on most GPUs

techtost.comBy techtost.com28 February 202407 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Email
Starcoder 2 Is An Ai That Generates Code That Runs
Share
Facebook Twitter LinkedIn Pinterest Email

Developers are adopting AI-powered code generators—services like GitHub Copilot and Amazon CodeWhisperer, along with open access models like Meta’s CodeLlama—in surprising price. But the tools are far from perfect. Many are not free. Others are, but only with licenses that exclude their use in common commercial contexts.

Sensing the demand for alternatives, startup Hugging Face several years ago teamed up with workflow automation platform ServiceNow to create StarCoder, an open source code generator with a less restrictive license than some of the others out there. The original was released online early last year, and work has since begun on a sequel, StarCoder 2.

StarCoder 2 is not a single code generation model, but rather a family. Released today, it comes in three variants, the first two of which can run on most modern consumer GPUs:

  • A 3 billion parameter (3B) model trained by ServiceNow
  • A 7 billion parameter (7B) model trained by Hugging Face
  • A 15 billion parameter (15B) model trained by Nvidia, the newest supporter of the StarCoder project.

(Note that “parameters” are the parts of a model that are learned from training data and essentially determine the model’s ability at a problem, in this case code generation.)

Like most other code generators, StarCoder 2 can suggest ways to fill in incomplete lines of code, as well as summarize and retrieve code snippets when prompted in natural language. Trained with 4x more data than the original StarCoder, StarCoder 2 offers what Hugging Face, ServiceNow and Nvidia describe as “significantly” improved performance with lower running costs.

StarCoder 2 can be fine-tuned “in hours” using a GPU like the Nvidia A100 on first- or third-party data to build apps like chatbots and personal coding assistants. And, because it was trained on a larger and more diverse dataset than the original StarCoder (~619 programming languages), StarCoder 2 can make more accurate context-aware predictions — at least hypothetically.

“StarCoder 2 was built specifically for developers who need to build apps quickly,” Harm de Vries, head of ServiceNow’s StarCoder 2 development team, told TechCrunch. “With StarCoder2, developers can use its capabilities to make coding more efficient without sacrificing speed or quality.”

Now, I would venture to say that not every developer would agree with De Vries on the speed and quality points. Code generators promise to streamline some coding tasks — but at a cost.

A recent Stanford study found that engineers who use code generation systems are more likely to introduce security vulnerabilities into the applications they develop. Elsewhere, a voting by Sonatype, the cybersecurity company, shows that the majority of developers are concerned about a lack of knowledge about how code generators produce code, and “code sprawl” from generators that produce too much code to manage.

StarCoder 2’s license may also prove to be an obstacle for some.

StarCoder 2 is licensed under Hugging Face’s RAIL-M, which aims to promote responsible use by imposing “light touch” restrictions on both model licensees and downstream users. Although less restrictive than many other licenses, RAIL-M is not truly “open” in the sense that it is not permission developers to use StarCoder 2 each potential application (medical advice applications are strictly off-limits, for example). Some commentators say that RAIL-M’s requirements may be too vague to comply with in every case — and that RAIL-M could conflict with AI-related regulations such as the EU’s Artificial Intelligence.

Putting all that aside for a moment, is StarCoder 2 really superior to the other code generators out there — free or paid?

Depending on the benchmark, it seems to be more efficient than one of the CodeLlama versions, CodeLlama 33B. Hugging Face says the StarCoder 2 15B matches the CodeLlama 33B on a subset of code completion tasks at twice the speed. It is not clear which tasks. Hugging Face did not elaborate.

StarCoder 2, as an open-source collection of models, also has the advantage of being able to develop locally and “learn” a developer’s source code or code base – an attractive prospect for developers and companies wary of exposing code to AI that hosted in the cloud. In 2023 overview from Portal26 and CensusWide, 85% of businesses said they were wary of adopting GenAI-style code generators because of privacy and security risks — such as employees sharing sensitive information or salespeople being trained on proprietary data.

Hugging Face, ServiceNow and Nvidia also argue that StarCoder 2 is more ethical – and less legally fraught – than its rivals.

All GenAI models are scrambled – in other words, they spit out a copy of the data they were trained on. It doesn’t take an active imagination to see why this could get a developer into trouble. With code producers trained in copyrighted code, it is entirely possible, even with filters and additional safeguards, that producers may inadvertently suggest copyrighted code and not mark it as such.

Some vendors, including GitHub, Microsoft (GitHub’s parent company), and Amazon, have committed to providing legal coverage in cases where a code-generating customer is accused of copyright infringement. But coverage varies from vendor to vendor and is generally limited to enterprise customers.

Unlike code producers trained using copyrighted code (GitHub Copilot, among others), StarCoder 2 was trained only on data licensed from Software Heritage, the non-profit organization that provides archiving services for code. Prior to the StarCoder 2 training, BigCode, the organizing team behind much of the StarCoder 2 roadmap, gave code holders the opportunity to opt out of the training set if they wished.

As with the original StarCoder, StarCoder 2’s training data is available for developers to split, replicate, or control as they wish.

Leandro von Werra, machine learning engineer at Hugging Face and co-head of BigCode, pointed out that while there has been a proliferation of open source generators recently, few have been accompanied by information about the data used to train them and, indeed, how they were trained.

“From a scientific point of view, one issue is that the training is not reproducible, but also as a data producer (i.e. someone who uploads their code to GitHub), you don’t know if and how your data was used,” Von Werra said in a interview. “StarCoder 2 addresses this issue by being completely transparent throughout the entire training pipeline from pre-training data scraping to training itself.”

StarCoder 2 isn’t perfect, he said. Like other code generators, it is prone to bias. De Vries notes that it can create code with elements that reflect gender and race stereotypes. And because StarCoder 2 was trained on mostly English comments, Python and Java code, it performs weaker on languages ​​other than English and on “low-resource” code like Fortran and Haksell.

However, Von Werra claims it’s a step in the right direction.

“We strongly believe that building trust and accountability with AI models requires transparency and control over the full model pipeline, including the training data and training recipe,” he said. “StarCoder 2 [showcases] how fully open models can deliver competitive performance.”

You might be wondering—as is this writer—what motivation Hugging Face, ServiceNow, and Nvidia have for investing in a project like StarCoder 2. They are businesses, after all—and training models don’t come cheap.

As far as I can tell, it’s a tried and true strategy: building goodwill and building paid services over open source versions.

ServiceNow has already used StarCoder to build Now LLM, a code generation product optimized for ServiceNow workflow patterns, use cases and processes. Hugging Face, which offers consulting model implementation plans, provides hosted versions of StarCoder 2 models on its platform. So does Nvidia, which makes StarCoder 2 available through an API and web front-end.

For developers specifically interested in the no-cost offline experience, StarCoder 2 — the models, source code, and more — can be downloaded from the project’s GitHub page.

All included code Embraced face genAI generates Generative AI GPUs nvidia runs ServiceNow StarCoder
Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
Previous ArticleNewsmast brings curated “communities” to the open source Twitter/X alternative Mastodon
Next Article Coverdash brings together the largest insurance carriers so small and medium businesses can get coverage in minutes
bhanuprakash.cg
techtost.com
  • Website

Related Posts

Creative Commons announces trial support for ‘pay-to-crawl’ AI systems.

15 December 2025

Nvidia is reportedly weighing increasing H200 production to meet growing demand in China

15 December 2025

TIME named “Architects of AI” Person of the Year

15 December 2025
Add A Comment

Leave A Reply Cancel Reply

Don't Miss

I hate to love Riverside’s AI-based “Rewind” for podcasters

16 December 2025

First Voyage Raises $2.5M For Its Habit-Building AI Companion

15 December 2025

Ford is launching a battery storage business to power data centers and the grid

15 December 2025
Stay In Touch
  • Facebook
  • YouTube
  • TikTok
  • WhatsApp
  • Twitter
  • Instagram
Fintech

Coinbase starts onboarding users again in India, plans to do fiat on-ramp next year

7 December 2025

Walmart-backed PhonePe shuts down Pincode app in yet another step back in e-commerce

5 December 2025

Nexus stays out of AI, keeping half of its new $700M fund for India startup

4 December 2025
Startups

First Voyage Raises $2.5M For Its Habit-Building AI Companion

Harness hits $5.5B valuation with $240M raise to automate AI’s ‘post-code’ divide

Mesa shuts down credit card that rewards cardholders for paying their mortgages

© 2025 TechTost. All Rights Reserved
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms and Conditions
  • Disclaimer

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