Update README.md
Browse files
README.md
CHANGED
@@ -20,21 +20,19 @@ tags:
|
|
20 |
<a href="https://arxiv.org/abs/2310.02031">Paper</a> •
|
21 |
<a href="https://huggingface.co/collections/zjunlp/oceangpt-664cc106358fdd9f09aa5157">Models</a> •
|
22 |
<a href="http://oceangpt.zjukg.cn/">Web</a> •
|
23 |
-
<a href="#quickstart">Quickstart</a> •
|
24 |
-
<a href="#citation">Citation</a>
|
25 |
</p>
|
26 |
</div>
|
27 |
|
28 |
-
OceanGPT-coder-0.6B is based on Qwen3-0.6B and has been trained on a hybrid synthetic code dataset in `
|
29 |
|
30 |
-
Please note that the models and data in this repository are updated regularly to fix errors. The latest update date will be added to the README for your reference.
|
31 |
|
32 |
- ❗**We will continue to update.**
|
33 |
- ❗**Disclaimer: This project is purely an academic exploration rather than a product. Please be aware that due to the inherent limitations of large language models, there may be issues such as hallucinations.**
|
34 |
|
35 |
## ⏩Quickstart
|
36 |
|
37 |
-
### Download the model
|
38 |
|
39 |
Download the model: [zjunlp/OceanGPT-coder-0.6B](https://huggingface.co/zjunlp/OceanGPT-coder-0.6B)
|
40 |
|
@@ -49,7 +47,12 @@ or
|
|
49 |
huggingface-cli download --resume-download zjunlp/OceanGPT-coder-0.6B --local-dir OceanGPT-coder-0.6B --local-dir-use-symlinks False
|
50 |
```
|
51 |
|
52 |
-
### Inference
|
|
|
|
|
|
|
|
|
|
|
53 |
|
54 |
```python
|
55 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|
|
|
20 |
<a href="https://arxiv.org/abs/2310.02031">Paper</a> •
|
21 |
<a href="https://huggingface.co/collections/zjunlp/oceangpt-664cc106358fdd9f09aa5157">Models</a> •
|
22 |
<a href="http://oceangpt.zjukg.cn/">Web</a> •
|
|
|
|
|
23 |
</p>
|
24 |
</div>
|
25 |
|
26 |
+
OceanGPT-coder-0.6B is based on Qwen3-0.6B and has been trained on a hybrid synthetic code dataset in `MOOS` language.
|
27 |
|
28 |
+
Please note that the models and data in this repository are updated regularly to fix errors. The latest update date will be added to the `README.md` for your reference.
|
29 |
|
30 |
- ❗**We will continue to update.**
|
31 |
- ❗**Disclaimer: This project is purely an academic exploration rather than a product. Please be aware that due to the inherent limitations of large language models, there may be issues such as hallucinations.**
|
32 |
|
33 |
## ⏩Quickstart
|
34 |
|
35 |
+
### Step 1: Download the model
|
36 |
|
37 |
Download the model: [zjunlp/OceanGPT-coder-0.6B](https://huggingface.co/zjunlp/OceanGPT-coder-0.6B)
|
38 |
|
|
|
47 |
huggingface-cli download --resume-download zjunlp/OceanGPT-coder-0.6B --local-dir OceanGPT-coder-0.6B --local-dir-use-symlinks False
|
48 |
```
|
49 |
|
50 |
+
### Step 2: Inference
|
51 |
+
|
52 |
+
```bash
|
53 |
+
# Recommended to use Python 3.10 or latest version, PyTorch 2.6 or latest version.
|
54 |
+
pip install transformers>=4.51.0
|
55 |
+
```
|
56 |
|
57 |
```python
|
58 |
from transformers import AutoModelForCausalLM, AutoTokenizer
|