wizzard0/llama2.ts

Llama2 inference in one TypeScript file

32
/ 100
Emerging

This project helps developers integrate Llama2-like transformer models directly into their TypeScript applications. It takes a pre-trained model binary and an initial text prompt, then generates new text based on the model's understanding. It's intended for software engineers, web developers, or anyone building applications that require local, lightweight text generation capabilities.

No commits in the last 6 months.

Use this if you are a developer looking to experiment with or embed small-scale Llama2 text generation capabilities directly within a TypeScript or JavaScript environment.

Not ideal if you are an end-user without programming experience, or if you need to train large language models or deploy high-performance, large-scale inference solutions.

JavaScript development TypeScript development text generation developer tools natural language processing
Stale 6m No Package No Dependents
Maintenance 2 / 25
Adoption 6 / 25
Maturity 16 / 25
Community 8 / 25

How are scores calculated?

Stars

20

Forks

2

Language

JavaScript

License

MIT

Last pushed

May 29, 2025

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/llm-tools/wizzard0/llama2.ts"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.