Instructions to use LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_") model = AutoModelForCausalLM.from_pretrained("LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_
- SGLang
How to use LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Unsloth Studio
How to use LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ 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 LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ 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 LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ to start chatting
Using HuggingFace Spaces for Unsloth
# No setup required # Open https://huggingface.co/spaces/unsloth/studio in your browser # Search for LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ to start chatting
Load model with FastModel
pip install unsloth from unsloth import FastModel model, tokenizer = FastModel.from_pretrained( model_name="LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_", max_seq_length=2048, ) - Docker Model Runner
How to use LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_ with Docker Model Runner:
docker model run hf.co/LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_
history and cultures... back to the bibles Setup for grpo = no slidingwindow = null ( usal full 128 context window )...
Current iteration tested !
Working well : in fact science amd reasoning is very good !
the problem needing to be solved is -
Sometimes a quick answer is required ! and not reasoning ! ( but i found that reasoning also happens when the model may have either multiple outputs available or no pretrained outputs available : so it generates an answer using past methodologys trained ... ie chain of thoughts methods to solve complex math ! SO it may not have seen the actual sum before ! but it can manage the individual components so it will reason its way to the answer , but can be very long and very long wait!.... It may seemnot to be solving but it will give a final answer just continue its output... ) Perhaps longer conversations ... ie multi turn conversations ... enableing for discussion instead of self reasoning as it seems to have lost its discussive capablitys ! I also found that this show the gaps in knowledge !
I find that once it has given an answer it does not wish to expand the answer or seek an alturnative it seems to stay wiht its original answer ? ( how to change this .... usually with more datasets with other methods or sumaried answers , not short ground truths as some answers could be answered in multiple ways so grpo training must be a followup training for new simple q&A or alpaca styled ! )----
SLiding window has been disabled from the unsloth ! as it will not grpo train :
Also a new datset combined with the old ( mixed-reasoning and chat ad ground truth) and some newer science and ground truth , perhaps a few (multiple choice (1%)) as i find the last datset seems to be its main output agenda , but it still learns from the earlier trains ::
This model is a stage on the way to ontology officer ! here it will be highly trained on some medical as well as dna and genus info : I find that understanding the history and genome of animals and insects ... as well as other language tasks , and nlp tasks ! the previous science officer was mainly math and technical knowledge as well as Math ... and programming ....its predecossor was abusiness model ( performing business tasks as well as deeper long reasoning)
All parent models had been trained on chain of thoughts and forest of thoughts etc before transformign the colelction to thining models ( i suspect it was already a thining model byu the ui's have just caught up to the structured outputs so now they can be displayed !) all is deception !
- Downloads last month
- -
Model tree for LeroyDyer/_Spydaz_Web_ONTOLOGY_OFFICER_
Unable to build the model tree, the base model loops to the model itself. Learn more.