metadata
license: apache-2.0
pipeline_tag: text-generation
tags:
- ocean
- text-generation-inference
language:
- en
π‘ Model description
This repo contains a large ocean generative model (OceanGPT) built with ocean science dataset. It should be noted that the OceanGPT is constantly being updated, so the current model is not the final version.
π Intended uses
You can download the model to generate responses or use the online demo.
π οΈ How to use by yourself
We wil provide several examples soon and you can modify the input according to your needs.
>>> from transformers import pipeline
>>> pipe = pipeline("text-generation", model="zjunlp/OceanGPT-7b")
>>> from transformers import AutoTokenizer, AutoModelForCausalLM
>>> tokenizer = AutoTokenizer.from_pretrained("zjunlp/OceanGPT-7b")
>>> model = AutoModelForCausalLM.from_pretrained("zjunlp/OceanGPT-7b")