Instructions to use Pankaj001/malicious-artifact with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Pankaj001/malicious-artifact with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("Pankaj001/malicious-artifact", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - llama-cpp-python
How to use Pankaj001/malicious-artifact with llama-cpp-python:
# !pip install llama-cpp-python from llama_cpp import Llama llm = Llama.from_pretrained( repo_id="Pankaj001/malicious-artifact", filename="test_gguf/retr0reg.gguf", )
llm.create_chat_completion( messages = "No input example has been defined for this model task." )
- Notebooks
- Google Colab
- Kaggle
- Local Apps
- llama.cpp
How to use Pankaj001/malicious-artifact with llama.cpp:
Install from brew
brew install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Pankaj001/malicious-artifact # Run inference directly in the terminal: llama-cli -hf Pankaj001/malicious-artifact
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama-server -hf Pankaj001/malicious-artifact # Run inference directly in the terminal: llama-cli -hf Pankaj001/malicious-artifact
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf Pankaj001/malicious-artifact # Run inference directly in the terminal: ./llama-cli -hf Pankaj001/malicious-artifact
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf Pankaj001/malicious-artifact # Run inference directly in the terminal: ./build/bin/llama-cli -hf Pankaj001/malicious-artifact
Use Docker
docker model run hf.co/Pankaj001/malicious-artifact
- LM Studio
- Jan
- Ollama
How to use Pankaj001/malicious-artifact with Ollama:
ollama run hf.co/Pankaj001/malicious-artifact
- Unsloth Studio new
How to use Pankaj001/malicious-artifact with Unsloth Studio:
Install Unsloth Studio (macOS, Linux, WSL)
curl -fsSL https://unsloth.ai/install.sh | sh # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Pankaj001/malicious-artifact to start chatting
Install Unsloth Studio (Windows)
irm https://unsloth.ai/install.ps1 | iex # Run unsloth studio unsloth studio -H 0.0.0.0 -p 8888 # Then open http://localhost:8888 in your browser # Search for Pankaj001/malicious-artifact to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for Pankaj001/malicious-artifact to start chatting
- Docker Model Runner
How to use Pankaj001/malicious-artifact with Docker Model Runner:
docker model run hf.co/Pankaj001/malicious-artifact
- Lemonade
How to use Pankaj001/malicious-artifact with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull Pankaj001/malicious-artifact
Run and chat with the model
lemonade run user.malicious-artifact-{{QUANT_TAG}}List all available models
lemonade list
deleting requirements.txt , will be updated later
Browse files- requirements.txt +0 -17
requirements.txt
DELETED
|
@@ -1,17 +0,0 @@
|
|
| 1 |
-
waitress==3.0.2
|
| 2 |
-
nbconvert ==7.16.6 # to convert .ipynb file to .py format
|
| 3 |
-
detect-secrets ==1.4.0
|
| 4 |
-
presidio-analyzer== 2.2.353
|
| 5 |
-
whispers== 2.2.0
|
| 6 |
-
GitPython==3.1.45
|
| 7 |
-
picklescan !=0.0.31
|
| 8 |
-
python-dotenv <= 1.0.1
|
| 9 |
-
boto3>=1.34.31
|
| 10 |
-
cloudwatch==1.2.1
|
| 11 |
-
pymysql==1.1.1
|
| 12 |
-
cryptography==45.0.1
|
| 13 |
-
tensorflow
|
| 14 |
-
psutil==6.1.0
|
| 15 |
-
Jinja2==3.1.6
|
| 16 |
-
git+https://github.com/huggingface/transformers.git
|
| 17 |
-
git+ssh://git@github.com/openai/whisper.git
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|