Instructions to use tdooms/ts-medium with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tdooms/ts-medium with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import Transformer model = Transformer.from_pretrained("tdooms/ts-medium", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files12 unmodified lines131415161718192012 unmodified lines## Model Details- 30 million parameters- 6 layers- model dimension 512- bilinear MLP with expansion factor 4- context length of 256- rotary positional embedding- custom tinystories [tokenizer](https://huggingface.co/tdooms/ts-tokenizer-4096)12 unmodified lines1314151617181920212212 unmodified lines## Model Details- 30 million parameters- 6 layers- 8 attention heads- model dimension 512- bilinear MLP with expansion factor 4- context length of 256- trained for 1 epoch (~2.5B tokens)- rotary positional embedding- custom tinystories [tokenizer](https://huggingface.co/tdooms/ts-tokenizer-4096)
README.md+2