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 config.json
Browse files1234567891011121314151617181920{"_name_or_path": "tdooms/ts-l6-d512-e5-b","architectures": ["Transformer"],"bias": false,"bilinear": true,"d_hidden": 2048,"d_model": 512,"gate": false,"modifier": null,"n_ctx": 256,"n_head": 8,"n_layer": 6,"n_vocab": 4096,"noise": null,"normalization": true,"torch_dtype": "float32","transformers_version": "4.44.2"}123456789101112131415161718192021{"_name_or_path": "tdooms/ts-l6-d512-e5-b","architectures": ["Transformer"],"bias": false,"bilinear": true,"d_hidden": 2048,"d_model": 512,"gate": false,"modifier": null,"n_ctx": 256,"n_head": 8,"n_layer": 6,"n_vocab": 4096,"noise": null,"normalization": true,"tokenizer": "ts-4096""torch_dtype": "float32","transformers_version": "4.44.2"}
config.json+21-20