Feature Extraction
Transformers
PyTorch
Vietnamese
viconbert
bert
wsd
vietnamese
semantic_similarity
custom_code
Instructions to use tkhangg0910/viconbert-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tkhangg0910/viconbert-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="tkhangg0910/viconbert-base", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("tkhangg0910/viconbert-base", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +2 -3
config.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"architectures": ["ViConBERT"],
|
| 3 |
"auto_map": {
|
| 4 |
-
"AutoConfig": "
|
| 5 |
-
"AutoModel": "
|
| 6 |
-
"AutoModelForSequenceClassification": "viconbert.modeling_viconbert.ViConBERTForSequenceClassification"
|
| 7 |
},
|
| 8 |
"model_type": "viconbert",
|
| 9 |
"base_model": "vinai/phobert-base",
|
|
|
|
| 1 |
{
|
| 2 |
"architectures": ["ViConBERT"],
|
| 3 |
"auto_map": {
|
| 4 |
+
"AutoConfig": "configuration_viconbert.ViConBERTConfig",
|
| 5 |
+
"AutoModel": "modeling_viconbert.ViConBERT"
|
|
|
|
| 6 |
},
|
| 7 |
"model_type": "viconbert",
|
| 8 |
"base_model": "vinai/phobert-base",
|