Instructions to use CodeIsAbstract/HybridModelScratch with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use CodeIsAbstract/HybridModelScratch with Transformers:
# Load model directly from transformers import HybridFourierLM model = HybridFourierLM.from_pretrained("CodeIsAbstract/HybridModelScratch", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Training in progress, step 150
Browse files- config.json +31 -0
- model.safetensors +3 -0
- training_args.bin +3 -0
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"HybridFourierLM"
|
| 4 |
+
],
|
| 5 |
+
"bos_token_id": 0,
|
| 6 |
+
"dropout": 0.05,
|
| 7 |
+
"dtype": "float32",
|
| 8 |
+
"eos_token_id": 0,
|
| 9 |
+
"latent_dim": 768,
|
| 10 |
+
"layer_types": [
|
| 11 |
+
"linear",
|
| 12 |
+
"linear",
|
| 13 |
+
"linear",
|
| 14 |
+
"softmax",
|
| 15 |
+
"linear",
|
| 16 |
+
"linear",
|
| 17 |
+
"linear",
|
| 18 |
+
"softmax",
|
| 19 |
+
"linear",
|
| 20 |
+
"linear",
|
| 21 |
+
"linear",
|
| 22 |
+
"softmax"
|
| 23 |
+
],
|
| 24 |
+
"model_type": "hybrid_fourier_lm",
|
| 25 |
+
"num_layers": 12,
|
| 26 |
+
"num_modes": 128,
|
| 27 |
+
"pad_token_id": 0,
|
| 28 |
+
"time_scale": 32.0,
|
| 29 |
+
"transformers_version": "4.56.0",
|
| 30 |
+
"vocab_size": 50277
|
| 31 |
+
}
|
model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ab7d60b908941ca0da8c0d5c61e9391a1b78eb40ba1aaba26858fa2b02261b2
|
| 3 |
+
size 693148584
|
training_args.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d216d38e0e5957b2090f5129648bebdd9025a8fa1a2649f1ed7e9e8705c0034c
|
| 3 |
+
size 5841
|