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
|
@@ -51,7 +51,7 @@ $ git lfs install
|
|
| 51 |
$ pip install huggingface_hub
|
| 52 |
|
| 53 |
```
|
| 54 |
-
## How to Get Started With the Model
|
| 55 |
|
| 56 |
#### Login HuggingFace on Terminal
|
| 57 |
|
|
|
|
| 51 |
$ pip install huggingface_hub
|
| 52 |
|
| 53 |
```
|
| 54 |
+
## How to Get Started With the Model
|
| 55 |
|
| 56 |
#### Login HuggingFace on Terminal
|
| 57 |
|