Instructions to use Azion/bert-based-chinese with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Azion/bert-based-chinese with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Azion/bert-based-chinese")# Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("Azion/bert-based-chinese") model = AutoModelForMaskedLM.from_pretrained("Azion/bert-based-chinese", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -58,7 +58,7 @@ $ pip install huggingface_hub
|
|
| 58 |
|
| 59 |
```
|
| 60 |
$ huggingface-cli login
|
| 61 |
-
Token:Your own
|
| 62 |
```
|
| 63 |
|
| 64 |
**Pyhon Code**
|
|
|
|
| 58 |
|
| 59 |
```
|
| 60 |
$ huggingface-cli login
|
| 61 |
+
Token:Your own huggingface token.
|
| 62 |
```
|
| 63 |
|
| 64 |
**Pyhon Code**
|