bizhen's picture
Update README.md
a9adc39
|
raw
history blame
957 Bytes
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")