Instructions to use AlexHung29629/test_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use AlexHung29629/test_model with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="AlexHung29629/test_model", trust_remote_code=True)# Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("AlexHung29629/test_model", trust_remote_code=True) model = AutoModel.from_pretrained("AlexHung29629/test_model", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
AlexHT_Hung commited on
Commit ·
0b58ee2
1
Parent(s): e558b66
update
Browse files- __init__.py +0 -0
- config.json +1 -1
__init__.py
ADDED
|
File without changes
|
config.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
| 6 |
"attention_bias": false,
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
"auto_map": {
|
| 9 |
-
"AutoModel": "
|
| 10 |
},
|
| 11 |
"bos_token_id": 128000,
|
| 12 |
"eos_token_id": 128001,
|
|
|
|
| 6 |
"attention_bias": false,
|
| 7 |
"attention_dropout": 0.0,
|
| 8 |
"auto_map": {
|
| 9 |
+
"AutoModel": "modeling_janus.JanusModel"
|
| 10 |
},
|
| 11 |
"bos_token_id": 128000,
|
| 12 |
"eos_token_id": 128001,
|