Instructions to use kiddothe2b/hierarchical-transformer-base-4096 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use kiddothe2b/hierarchical-transformer-base-4096 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="kiddothe2b/hierarchical-transformer-base-4096", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("kiddothe2b/hierarchical-transformer-base-4096", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
9a04fd2
1
Parent(s): 436a44c
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "kiddothe2b/
|
| 3 |
"architectures": [
|
| 4 |
"HATForMaskedLM"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "kiddothe2b/hierarchical-transformer-base-4096",
|
| 3 |
"architectures": [
|
| 4 |
"HATForMaskedLM"
|
| 5 |
],
|