Instructions to use Synthyra/ANKH_large with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ANKH_large with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Synthyra/ANKH_large", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Upload FastAnkhForMaskedLM
Browse files- config.json +4 -0
- model.safetensors +2 -2
config.json
CHANGED
|
@@ -1,4 +1,7 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
|
|
|
| 2 |
"attn_backend": "sdpa",
|
| 3 |
"auto_map": {
|
| 4 |
"AutoConfig": "modeling_ankh.FastAnkhConfig",
|
|
@@ -11,6 +14,7 @@
|
|
| 11 |
"d_kv": 64,
|
| 12 |
"d_model": 1536,
|
| 13 |
"dense_act_fn": "gelu_new",
|
|
|
|
| 14 |
"eos_token_id": 1,
|
| 15 |
"initializer_factor": 1.0,
|
| 16 |
"layer_norm_epsilon": 1e-06,
|
|
|
|
| 1 |
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"FastAnkhForMaskedLM"
|
| 4 |
+
],
|
| 5 |
"attn_backend": "sdpa",
|
| 6 |
"auto_map": {
|
| 7 |
"AutoConfig": "modeling_ankh.FastAnkhConfig",
|
|
|
|
| 14 |
"d_kv": 64,
|
| 15 |
"d_model": 1536,
|
| 16 |
"dense_act_fn": "gelu_new",
|
| 17 |
+
"dtype": "float32",
|
| 18 |
"eos_token_id": 1,
|
| 19 |
"initializer_factor": 1.0,
|
| 20 |
"layer_norm_epsilon": 1e-06,
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e70b8f9755ac6bfe95d18359060ae9fe38fac63b12a89a886c83349d1adbaa53
|
| 3 |
+
size 4608653848
|