Instructions to use Adedoyinjames/brain-ai with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Adedoyinjames/brain-ai with Transformers:
# Use a pipeline as a high-level helper # Warning: Pipeline type "question-answering" is no longer supported in transformers v5. # You must load the model directly (see below) or downgrade to v4.x with: # pip install "transformers<5.0.0" from transformers import pipeline pipe = pipeline("question-answering", model="Adedoyinjames/brain-ai")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForQuestionAnswering tokenizer = AutoTokenizer.from_pretrained("Adedoyinjames/brain-ai") model = AutoModelForQuestionAnswering.from_pretrained("Adedoyinjames/brain-ai", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download tokenizer.model from Adedoyinjames/brain-ai: direct link, hf CLI and curl.
- Browser
- Download file 587 kB
-
https://huggingface.co/Adedoyinjames/brain-ai/resolve/main/tokenizer.model
- Command line
-
hf download hf://Adedoyinjames/brain-ai/tokenizer.model
-
curl -L -o tokenizer.model https://huggingface.co/Adedoyinjames/brain-ai/resolve/main/tokenizer.model
587 kB
- Xet hash:
- 70de076fa18896073beef6149fbfc8ac2a287bc510c1a6f422ca4b8538b7a952
- Size of remote file:
- 587 kB
- SHA256:
- 37f00374dea48658ee8f5d0f21895b9bc55cb0103939607c8185bfd1c6ca1f89
路
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.