FreedomIntelligence / HuatuoGPT2-7B

huggingface.co
Total runs: 223
24-hour runs: 0
7-day runs: -20
30-day runs: -187
Model's Last Updated: July 29 2024
text-generation

Introduction of HuatuoGPT2-7B

Model Details of HuatuoGPT2-7B

HuatuoGPT2-7B

Quick Start

import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
from transformers.generation.utils import GenerationConfig
tokenizer = AutoTokenizer.from_pretrained("FreedomIntelligence/HuatuoGPT2-7B", use_fast=True, trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained("FreedomIntelligence/HuatuoGPT2-7B", device_map="auto", torch_dtype=torch.bfloat16, trust_remote_code=True)
model.generation_config = GenerationConfig.from_pretrained("FreedomIntelligence/HuatuoGPT2-7B")
messages = []
messages.append({"role": "user", "content": "肚子疼怎么办?"})
response = model.HuatuoChat(tokenizer, messages)
print(response)

Runs of FreedomIntelligence HuatuoGPT2-7B on huggingface.co

223
Total runs
0
24-hour runs
26
3-day runs
-20
7-day runs
-187
30-day runs

More Information About HuatuoGPT2-7B huggingface.co Model

More HuatuoGPT2-7B license Visit here:

https://choosealicense.com/licenses/apache-2.0

HuatuoGPT2-7B huggingface.co

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

FreedomIntelligence HuatuoGPT2-7B online free

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

FreedomIntelligence HuatuoGPT2-7B online free url in huggingface.co:

https://huggingface.co/FreedomIntelligence/HuatuoGPT2-7B

HuatuoGPT2-7B install

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

HuatuoGPT2-7B install url in huggingface.co:

https://huggingface.co/FreedomIntelligence/HuatuoGPT2-7B

Url of HuatuoGPT2-7B

Provider of HuatuoGPT2-7B huggingface.co

FreedomIntelligence
ORGANIZATIONS

Other API from FreedomIntelligence