mgoin/llama2.c-stories15M-ds
By mgoin · ↓ 3 · ♥ 0 · Updated 2023-10-18
What's in this repo
This page lists the files in mgoin/llama2.c-stories15M-ds, including model-orig.onnx, model.onnx.
- 2 ONNX models (.onnx files)
- 8 files, including 4 .json, 2 .onnx, 1 .md
- Last updated 2023-10-18
ONNX files
How to use
These ONNX files can be loaded with ONNX Runtime. To inspect a model graph, upload the file to the Netron viewer. Download links point to the original files on Hugging Face.
README
https://huggingface.co/Xenova/llama2.c-stories15M exported to be compatible with DeepSparse
from deepsparse import TextGeneration
model = TextGeneration(model="hf:mgoin/llama2.c-stories15M-ds")
out = model("Once upon a time", max_new_tokens=300)
print(out.generations[0].text)
### , there was a little girl named Lily. She loved to play outside in the sunshine. One day, she saw a big, red ball in the sky. It was the sun! She thought it was so pretty.
### Lily wanted to play with the ball, but it was too high up in the sky. She tried to jump and reach it, but she couldn't. Then, she had an idea. She would use a stick to knock the ball down.
### Lily found a stick and tried to hit the ball. But the stick was too short. She tried again and again, but she couldn't reach it. She felt sad.
### Suddenly, a kind man came by and saw Lily. He asked her what was wrong. Lily told him about the ball. The man smiled and said, "I have a useful idea!" He took out a long stick and used it to knock the ball down. Lily was so happy! She thanked the man and they played together in the sunshine. Once upon a time, there was a little girl named Lily. She loved to play outside in the sunshine. One day, she saw a big, red ball in the sky. It was the sun! She thought it was so pretty.
### Lily wanted to play with the ball, but it was too high up in the sky. She tried to jump, but she couldn't reach it
Model info
text-generation
transformers
transformers
onnx
llama
text-generation
deepsparse
endpoints_compatible
region:us
↓ 3
♥ 0
Created: 2023-10-13
Updated: 2023-10-18
View on Hugging FaceFiles (8)
.gitattributes
README.md
config.json
model-orig.onnx
ONNX
model.onnx
ONNX
special_tokens_map.json
tokenizer.json
tokenizer_config.json