zjunlp / OceanGPT-2B-v0.1

huggingface.co
Total runs: 24
24-hour runs: 0
7-day runs: 0
30-day runs: 0
Model's Last Updated: August 12 2024
text-generation

Introduction of OceanGPT-2B-v0.1

Model Details of OceanGPT-2B-v0.1

OceanGPT(沧渊): A Large Language Model for Ocean Science Tasks

Project • Paper • Models • Web • Quickstart • Citation

OceanGPT-2B-v0.1 is based on MiniCPM-2B and has been trained on a bilingual dataset in the ocean domain, covering both Chinese and English.

⏩Quickstart
Download the model

Download the model: OceanGPT-2B-v0.1

git lfs install
git clone https://huggingface.co/zjunlp/OceanGPT-2B-v0.1

or

huggingface-cli download --resume-download zjunlp/OceanGPT-2B-v0.1 --local-dir OceanGPT-2B-v0.1 --local-dir-use-symlinks False
Inference
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch
device = "cuda" # the device to load the model onto
path = 'YOUR-MODEL-PATH'
model = AutoModelForCausalLM.from_pretrained(
    path,
    torch_dtype=torch.bfloat16,
    device_map="auto"
)
tokenizer = AutoTokenizer.from_pretrained(path)

prompt = "Which is the largest ocean in the world?"
messages = [
    {"role": "system", "content": "You are a helpful assistant."},
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True
)
model_inputs = tokenizer([text], return_tensors="pt").to(device)

generated_ids = model.generate(
    model_inputs.input_ids,
    max_new_tokens=512
)
generated_ids = [
    output_ids[len(input_ids):] for input_ids, output_ids in zip(model_inputs.input_ids, generated_ids)
]

response = tokenizer.batch_decode(generated_ids, skip_special_tokens=True)[0]
📌Models
Model Name HuggingFace WiseModel ModelScope
OceanGPT-14B-v0.1 (based on Qwen) 14B 14B 14B
OceanGPT-7B-v0.2 (based on Qwen) 7B 7B 7B
OceanGPT-2B-v0.1 (based on MiniCPM) 2B 2B 2B
🌻Acknowledgement

OceanGPT(沧渊) is trained based on the open-sourced large language models including Qwen , MiniCPM , LLaMA . Thanks for their great contributions!

Limitations
  • The model may have hallucination issues.

  • We did not optimize the identity and the model may generate identity information similar to that of Qwen/MiniCPM/LLaMA/GPT series models.

  • The model's output is influenced by prompt tokens, which may result in inconsistent results across multiple attempts.

🚩Citation

Please cite the following paper if you use OceanGPT in your work.

@article{bi2023oceangpt,
  title={OceanGPT: A Large Language Model for Ocean Science Tasks},
  author={Bi, Zhen and Zhang, Ningyu and Xue, Yida and Ou, Yixin and Ji, Daxiong and Zheng, Guozhou and Chen, Huajun},
  journal={arXiv preprint arXiv:2310.02031},
  year={2023}
}

Runs of zjunlp OceanGPT-2B-v0.1 on huggingface.co

24
Total runs
0
24-hour runs
0
3-day runs
0
7-day runs
0
30-day runs

More Information About OceanGPT-2B-v0.1 huggingface.co Model

More OceanGPT-2B-v0.1 license Visit here:

https://choosealicense.com/licenses/mit

OceanGPT-2B-v0.1 huggingface.co

OceanGPT-2B-v0.1 huggingface.co is an AI model on huggingface.co that provides OceanGPT-2B-v0.1's model effect (), which can be used instantly with this zjunlp OceanGPT-2B-v0.1 model. huggingface.co supports a free trial of the OceanGPT-2B-v0.1 model, and also provides paid use of the OceanGPT-2B-v0.1. Support call OceanGPT-2B-v0.1 model through api, including Node.js, Python, http.

OceanGPT-2B-v0.1 huggingface.co Url

https://huggingface.co/zjunlp/OceanGPT-2B-v0.1

zjunlp OceanGPT-2B-v0.1 online free

OceanGPT-2B-v0.1 huggingface.co is an online trial and call api platform, which integrates OceanGPT-2B-v0.1's modeling effects, including api services, and provides a free online trial of OceanGPT-2B-v0.1, you can try OceanGPT-2B-v0.1 online for free by clicking the link below.

zjunlp OceanGPT-2B-v0.1 online free url in huggingface.co:

https://huggingface.co/zjunlp/OceanGPT-2B-v0.1

OceanGPT-2B-v0.1 install

OceanGPT-2B-v0.1 is an open source model from GitHub that offers a free installation service, and any user can find OceanGPT-2B-v0.1 on GitHub to install. At the same time, huggingface.co provides the effect of OceanGPT-2B-v0.1 install, users can directly use OceanGPT-2B-v0.1 installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

OceanGPT-2B-v0.1 install url in huggingface.co:

https://huggingface.co/zjunlp/OceanGPT-2B-v0.1

Url of OceanGPT-2B-v0.1

OceanGPT-2B-v0.1 huggingface.co Url

Provider of OceanGPT-2B-v0.1 huggingface.co

zjunlp
ORGANIZATIONS

Other API from zjunlp

huggingface.co

Total runs: 1.1K
Run Growth: 363
Growth Rate: 33.21%
Updated:March 04 2024
huggingface.co

Total runs: 589
Run Growth: -601
Growth Rate: -102.04%
Updated:March 04 2024
huggingface.co

Total runs: 36
Run Growth: -50
Growth Rate: -138.89%
Updated:May 06 2024
huggingface.co

Total runs: 16
Run Growth: -14
Growth Rate: -87.50%
Updated:March 21 2023
huggingface.co

Total runs: 11
Run Growth: 0
Growth Rate: 0.00%
Updated:October 01 2025
huggingface.co

Total runs: 10
Run Growth: 3
Growth Rate: 30.00%
Updated:October 01 2025
huggingface.co

Total runs: 3
Run Growth: 0
Growth Rate: 0.00%
Updated:July 28 2023
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 22 2022
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:December 07 2024
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:June 09 2025
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:May 10 2026
huggingface.co

Total runs: 0
Run Growth: 0
Growth Rate: 0.00%
Updated:February 17 2023