Instructions to use OmniContent/LAVA-models with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use OmniContent/LAVA-models with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf OmniContent/LAVA-models:Q4_K_M # Run inference directly in the terminal: llama cli -hf OmniContent/LAVA-models:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf OmniContent/LAVA-models:Q4_K_M # Run inference directly in the terminal: llama cli -hf OmniContent/LAVA-models:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-app # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama serve -hf OmniContent/LAVA-models:Q4_K_M # Run inference directly in the terminal: ./build/bin/llama cli -hf OmniContent/LAVA-models:Q4_K_M
Use Docker
docker model run hf.co/OmniContent/LAVA-models:Q4_K_M
- Llama new
- LM Studio
- Jan
- Ollama
How to use OmniContent/LAVA-models with Ollama:
ollama run hf.co/OmniContent/LAVA-models:Q4_K_M
- Unsloth Desktop
- Docker Model Runner
How to use OmniContent/LAVA-models with Docker Model Runner:
docker model run hf.co/OmniContent/LAVA-models:Q4_K_M
- Lemonade
How to use OmniContent/LAVA-models with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull OmniContent/LAVA-models:Q4_K_M
Run and chat with the model
lemonade run user.LAVA-models-Q4_K_M
List all available models
lemonade list
- Atomic Chat
Download vaderSentiment/setup.py from OmniContent/LAVA-models: direct link, hf CLI and curl.
- Browser
- Download file 2.16 kB
-
https://huggingface.co/OmniContent/LAVA-models/resolve/main/vaderSentiment/setup.py
- Command line
-
hf download hf://OmniContent/LAVA-models/vaderSentiment/setup.py
-
curl -L -o setup.py https://huggingface.co/OmniContent/LAVA-models/resolve/main/vaderSentiment/setup.py
2.16 kB
| import codecs | |
| import os | |
| from setuptools import setup, find_packages | |
| HERE = os.path.abspath(os.path.dirname(__file__)) | |
| def read(*parts): | |
| """ | |
| Build an absolute path from *parts* and and return the contents of the | |
| resulting file. Assume UTF-8 encoding. | |
| """ | |
| with codecs.open(os.path.join(HERE, *parts), "rb", "utf-8") as f: | |
| return f.read() | |
| setup( | |
| name = 'vaderSentiment', | |
| #packages = ['vaderSentiment'], # this must be the same as the name above | |
| packages = find_packages(exclude=['tests*']), # a better way to do it than the line above -- this way no typo/transpo errors | |
| include_package_data=True, | |
| version = '3.3.1', | |
| description = 'VADER Sentiment Analysis. VADER (Valence Aware Dictionary and sEntiment Reasoner) is a lexicon and rule-based sentiment analysis tool that is specifically attuned to sentiments expressed in social media, and works well on texts from other domains.', | |
| long_description = read("README.rst"), | |
| long_description_content_type = 'text/x-rst', | |
| author = 'C.J. Hutto', | |
| author_email = 'cjhutto@gatech.edu', | |
| license = 'MIT License: http://opensource.org/licenses/MIT', | |
| url = 'https://github.com/cjhutto/vaderSentiment', # use the URL to the github repo | |
| download_url = 'https://github.com/cjhutto/vaderSentiment/archive/master.zip', | |
| install_requires = ['requests'], | |
| keywords = ['vader', 'sentiment', 'analysis', 'opinion', 'mining', 'nlp', 'text', 'data', | |
| 'text analysis', 'opinion analysis', 'sentiment analysis', 'text mining', 'twitter sentiment', | |
| 'opinion mining', 'social media', 'twitter', 'social', 'media'], # arbitrary keywords | |
| classifiers = ['Development Status :: 4 - Beta', 'Intended Audience :: Science/Research', | |
| 'License :: OSI Approved :: MIT License', 'Natural Language :: English', | |
| 'Programming Language :: Python :: 3.5', 'Topic :: Scientific/Engineering :: Artificial Intelligence', | |
| 'Topic :: Scientific/Engineering :: Information Analysis', 'Topic :: Text Processing :: Linguistic', | |
| 'Topic :: Text Processing :: General'], | |
| ) | |