Instructions to use Jason37437/kNNProxy-Falcon-7B-Instruct with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use Jason37437/kNNProxy-Falcon-7B-Instruct with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("tiiuae/falcon-7b-instruct") model = PeftModel.from_pretrained(base_model, "Jason37437/kNNProxy-Falcon-7B-Instruct") - Notebooks
- Google Colab
- Kaggle
|
Download README.md from Jason37437/kNNProxy-Falcon-7B-Instruct: direct link, hf CLI and curl.
- Browser
- Download file 785 Bytes
-
https://huggingface.co/Jason37437/kNNProxy-Falcon-7B-Instruct/resolve/main/README.md
- Command line
-
hf download hf://Jason37437/kNNProxy-Falcon-7B-Instruct/README.md
-
curl -L -o README.md https://huggingface.co/Jason37437/kNNProxy-Falcon-7B-Instruct/resolve/main/README.md
785 Bytes
metadata
base_model: tiiuae/falcon-7b-instruct
library_name: peft
tags:
- lora
- faiss
- text-detection
kNNProxy Falcon-7B-Instruct artifacts
This repository contains the Falcon-7B-Instruct LoRA adapter and its matching prebuilt kNNProxy datastore. The FAISS IVF-PQ index contains 4,300,508 successor-token entries from 5,000 filtered GPT-4 WildChat conversations. The adapter is serialized as safetensors.
Use tiiuae/falcon-7b-instruct as the scoring model and tiiuae/falcon-7b as the reference for Fast-DetectGPT and Binoculars. Set the kNNProxy adapter argument to Jason37437/kNNProxy-Falcon-7B-Instruct and point the index argument at the downloaded index directory.
The index directory includes its provenance manifest and the metadata required by the kNNProxy release code.