hojzas / proj8-mistral-new

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

Introduction of proj8-mistral-new

Model Details of proj8-mistral-new

Model Trained Using AutoTrain

This model was trained using AutoTrain. For more information, please visit AutoTrain .

Usage


from transformers import AutoModelForCausalLM, AutoTokenizer

model_path = "PATH_TO_THIS_REPO"

tokenizer = AutoTokenizer.from_pretrained(model_path)
model = AutoModelForCausalLM.from_pretrained(
    model_path,
    device_map="auto",
    torch_dtype='auto'
).eval()

# Prompt content: "hi"
messages = [
    {"role": "user", "content": "hi"}
]

input_ids = tokenizer.apply_chat_template(conversation=messages, tokenize=True, add_generation_prompt=True, return_tensors='pt')
output_ids = model.generate(input_ids.to('cuda'))
response = tokenizer.decode(output_ids[0][input_ids.shape[1]:], skip_special_tokens=True)

# Model response: "Hello! How can I assist you today?"
print(response)

Runs of hojzas proj8-mistral-new on huggingface.co

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

More Information About proj8-mistral-new huggingface.co Model

More proj8-mistral-new license Visit here:

https://choosealicense.com/licenses/other

proj8-mistral-new huggingface.co

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

proj8-mistral-new huggingface.co Url

https://huggingface.co/hojzas/proj8-mistral-new

hojzas proj8-mistral-new online free

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

hojzas proj8-mistral-new online free url in huggingface.co:

https://huggingface.co/hojzas/proj8-mistral-new

proj8-mistral-new install

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

proj8-mistral-new install url in huggingface.co:

https://huggingface.co/hojzas/proj8-mistral-new

Url of proj8-mistral-new

proj8-mistral-new huggingface.co Url

Provider of proj8-mistral-new huggingface.co

hojzas
ORGANIZATIONS

Other API from hojzas

huggingface.co

Total runs: 22
Run Growth: 8
Growth Rate: 36.36%
Updated:January 18 2024
huggingface.co

Total runs: 14
Run Growth: -2
Growth Rate: -14.29%
Updated:January 17 2024
huggingface.co

Total runs: 10
Run Growth: -2
Growth Rate: -20.00%
Updated:January 31 2024
huggingface.co

Total runs: 10
Run Growth: 3
Growth Rate: 30.00%
Updated:May 13 2024
huggingface.co

Total runs: 9
Run Growth: 2
Growth Rate: 22.22%
Updated:January 31 2024
huggingface.co

Total runs: 7
Run Growth: 0
Growth Rate: 0.00%
Updated:January 25 2024