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

He’s probably raising $9 million to create a more reliable kind of AI

SpaceX Goes Public: Everything You Need to Know Post-IPO

India orders temporary ban on Telegram over exam cheating

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

    SpaceX Goes Public: Everything You Need to Know Post-IPO

    16 June 2026

    Sundar Pichai faces backlash, pulls out of Stanford graduation ceremony for Google’s Israel, ICE ties

    16 June 2026

    Cybersecurity vets protest ‘dangerous’ US government ban on Anthropic’s most powerful models

    15 June 2026

    OpenAI is facing investigation by state attorneys general

    15 June 2026

    Meta is reportedly moving to loosen the $2bn Manus deal following Beijing’s demand

    14 June 2026
  • Apps

    India orders temporary ban on Telegram over exam cheating

    16 June 2026

    Meta’s new ‘AI Mode’ on Facebook draws from public information on its platforms

    16 June 2026

    UK unveils sweeping social media ban on under-16s

    15 June 2026

    Apple is bringing streaming-style subscription packages to the App Store

    15 June 2026

    Snapchat restricts users under 16 from sharing Spotlights with friends

    14 June 2026
  • Crypto

    Startup Battlefield 200 applications close today

    27 May 2026

    5 days left: Save up to $410 on Disrupt 2026 passes

    25 May 2026

    As crypto cools, a16z crypto raises $2.2 billion in capital

    6 May 2026

    Coinbase to lay off 14% of staff as part of broader restructuring

    5 May 2026

    British cryptographer Adam Back denies NYT report that he is Bitcoin creator Satoshi Nakamoto

    9 April 2026
  • Fintech

    Ramp raises $750M at $44B valuation as investors thirst for fintechs with AI history

    5 June 2026

    Last 24 hours to save up to $410 on your Disrupt 2026 ticket

    29 May 2026

    2 days left: Lock in up to $410 in ticket savings for Disrupt 2026

    28 May 2026

    Robinhood now allows your AI agents to trade stocks

    28 May 2026

    Disrupt 2026 Early Bird ticket savings expire in 3 days

    27 May 2026
  • Hardware

    This slim speaker under the pillow helped me sleep without headphones

    14 June 2026

    Jeff Bezos’ Prometheus Raises $12 Billion to Build an ‘Artificial General Engineer’ for the Natural World

    12 June 2026

    WWDC 2026: What to expect, from Siri’s long-awaited revamp to Apple Intelligence and iOS 27

    9 June 2026

    What to expect from WWDC 2026: The long-awaited Siri refresh and Apple Intelligence updates

    7 June 2026

    What to expect from WWDC 2026: The long-awaited Siri refresh and Apple Intelligence updates

    5 June 2026
  • Media & Entertainment

    Fox to acquire Roku in $22 billion deal

    15 June 2026

    Deezer’s new tool can recognize AI music from Spotify, Apple Music and more

    11 June 2026

    Netflix expands revamped mobile app across Asia and doubles down on games for kids

    10 June 2026

    Plex adds new social features ahead of major price hike for its lifetime pass

    6 June 2026

    Startup Battlefield 200 applications officially close in 3 days

    5 June 2026
  • Security

    The US government’s ban on Anthropic models was never about an AI jailbreak

    16 June 2026

    As AI agents become employees, NewCore comes up with $66 million to give them identities

    15 June 2026

    The FBI built its own replica small town to simulate real-world cyberattacks

    13 June 2026

    US surveillance law to expire for first time after lawmakers rejected Trump’s controversial pick to lead spy agency

    13 June 2026

    Chinese cybercrime operation that used artificial intelligence to scam ‘hundreds of thousands of victims’ sued by Google

    12 June 2026
  • Startups

    He’s probably raising $9 million to create a more reliable kind of AI

    16 June 2026

    Sarvam becomes India’s newest AI unicorn with $234M funding round led by HCLTech

    15 June 2026

    As AI companies scramble to go public, who else is along for the ride?

    14 June 2026

    Jedify Raises $24M To Help Companies Arm AI Agents With Their Business Context

    12 June 2026

    Military SPAC Quantum Space is trying to catch SpaceX’s IPO wave

    12 June 2026
  • Transportation

    SpaceX Goes Public: Everything You Need to Know Post-IPO

    16 June 2026

    GM is joining the race to make batteries for AI data centers and the grid

    15 June 2026

    TechCrunch Mobility: SpaceX rockets pass Tesla

    14 June 2026

    Waymo says it has created a better benchmark for comparing robotics to humans

    14 June 2026

    SpaceX IPO closes up 19% and delivers world’s first trillionaire

    13 June 2026
  • Venture

    Orbio raises $21 million to automate hiring and onboarding of frontline workers

    15 June 2026

    Why business AI will be the focus of VivaTech 2026

    10 June 2026

    How Justin Ernest invested nearly $500 million in hot startups without a traditional VC fund

    10 June 2026

    Mercor’s Brendan Foody calls out Sequoia, accusing it of “double pricing” valuation tricks.

    9 June 2026

    Founders share VC horror stories and some name names

    6 June 2026
  • 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

SpaceX Goes Public: Everything You Need to Know Post-IPO

16 June 2026

Sundar Pichai faces backlash, pulls out of Stanford graduation ceremony for Google’s Israel, ICE ties

16 June 2026

Meta’s new ‘AI Mode’ on Facebook draws from public information on its platforms

16 June 2026
Add A Comment

Leave A Reply Cancel Reply

Don't Miss

He’s probably raising $9 million to create a more reliable kind of AI

16 June 2026

SpaceX Goes Public: Everything You Need to Know Post-IPO

16 June 2026

India orders temporary ban on Telegram over exam cheating

16 June 2026
Stay In Touch
  • Facebook
  • YouTube
  • TikTok
  • WhatsApp
  • Twitter
  • Instagram
Fintech

Ramp raises $750M at $44B valuation as investors thirst for fintechs with AI history

5 June 2026

Last 24 hours to save up to $410 on your Disrupt 2026 ticket

29 May 2026

2 days left: Lock in up to $410 in ticket savings for Disrupt 2026

28 May 2026
Startups

He’s probably raising $9 million to create a more reliable kind of AI

Sarvam becomes India’s newest AI unicorn with $234M funding round led by HCLTech

As AI companies scramble to go public, who else is along for the ride?

© 2026 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.