How to use from
Docker Model Runner
# Gated model: Login with a HF token with gated access permission
hf auth login
docker model run hf.co/ItalianMLDevs/TestForCheshire
Quick Links

You need to agree to share your contact information to access this model

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this model content.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

Project for Big Data

Prerequisites

Install the following:

  • transformers
  • huggingface-cli

Setting up

Clone this repository and in constants folder create a new file called "api.py". Then, past there the following line:

api = "Bearer [YOUR HUGGING_FACE API KEY]"

Replace the placeholder with your Hugging Face API key

Asking for completions

Run the script send_question.py to request a completion, to send a different question edit question_input variable into question.py file.

Errors

Sometimes Hugging Face returns the "file not ready" error, try running the send_question.py multiple times

Downloads last month
-
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support