sfnr-llm / README.md
ehristoforu's picture
Update README.md
64193a7
|
raw
history blame
2.13 kB
metadata
inference: true
tags:
  - text-generation-inference
  - SFNR-LLM
  - sofanor
model-index:
  - name: sofanor-7b
    results: []
license: mit
language:
  - en
  - ru
  - fr
metrics:
  - accuracy
pipeline_tag: text-generation

SFNR LLM

Model Description

Model Sources

How to Get Started with the Model

Use the code below to get started with the model.

  1. Run install module command:
    pip install requests
    
  2. Paste this code:
    import requests
    
    HF_READ_TOKEN = "hf_token" # Use yor read-token, it is free
    
    API_URL = "https://api-inference.huggingface.co/models/sofanorai/sofanor-7b"
    headers = {"Authorization": f"Bearer {HF_READ_TOKEN}"}
    
    def query(payload):
      response = requests.post(API_URL, headers=headers, json=payload)
      return response.json()
     
    output = query({
    "inputs": "Can you please let us know more details about your ",
    })
    
  3. Run with Python:
    python your_file.py
    

Environmental Impact

Carbon emissions can be estimated using the Machine Learning Impact calculator presented in Lacoste et al. (2019).

  • Hardware Type: GPU
  • Compute Region: USA