Text Classification
Transformers
PyTorch
English
Chinese
internlm2
feature-extraction
Reward
RL
RFT
Reward Model
custom_code
Instructions to use internlm/POLAR-7B-Base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use internlm/POLAR-7B-Base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="internlm/POLAR-7B-Base", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("internlm/POLAR-7B-Base", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
Update README_zh-CN.md
Browse files- README_zh-CN.md +6 -0
README_zh-CN.md
CHANGED
|
@@ -56,6 +56,12 @@ POLAR 是一个经过大规模预训练的奖励模型,在训练范式和模
|
|
| 56 |
|
| 57 |
- 通过 pip 安装 xtuner:
|
| 58 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 59 |
```shell
|
| 60 |
pip install 'git+https://github.com/InternLM/xtuner.git@main#egg=xtuner[deepspeed]'
|
| 61 |
```
|
|
|
|
| 56 |
|
| 57 |
- 通过 pip 安装 xtuner:
|
| 58 |
|
| 59 |
+
```shell
|
| 60 |
+
pip install 'xtuner[deepspeed]'==0.2.0
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
- 通过最新源码安装 xtuner:
|
| 64 |
+
|
| 65 |
```shell
|
| 66 |
pip install 'git+https://github.com/InternLM/xtuner.git@main#egg=xtuner[deepspeed]'
|
| 67 |
```
|