Instructions to use KabirManandhar/linear_a with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use KabirManandhar/linear_a with Transformers:
# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("KabirManandhar/linear_a", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Kabir Manandhar Shrestha commited on
Commit ·
225ed43
1
Parent(s): 0208140
Adding Linear A model
Browse files- config.json +1 -0
- model_weights.pth +0 -0
- pytorch_model.bin +0 -0
config.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"vocab_size": 158, "batch_size": 8, "block_size": 32, "max_iters": 5000, "eval_interval": 100, "learning_rate": 0.001, "device": "cpu", "eval_iters": 200, "n_embd": 32, "n_head": 2, "n_layer": 2, "dropout": 0.2, "early_stopping_patience": 5, "best_val_loss": Infinity, "patience_counter": 0}
|
model_weights.pth
ADDED
|
Binary file (188 kB). View file
|
|
|
pytorch_model.bin
ADDED
|
Binary file (178 kB). View file
|
|
|