Instructions to use BiomedicalEvidencePlatform/pico-extractor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use BiomedicalEvidencePlatform/pico-extractor with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="BiomedicalEvidencePlatform/pico-extractor")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("BiomedicalEvidencePlatform/pico-extractor") model = AutoModelForTokenClassification.from_pretrained("BiomedicalEvidencePlatform/pico-extractor", device_map="auto") - MLX
How to use BiomedicalEvidencePlatform/pico-extractor with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] hf download BiomedicalEvidencePlatform/pico-extractor --local-dir pico-extractor
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- Atomic Chat
Download tokenizer_config.json from BiomedicalEvidencePlatform/pico-extractor: direct link, hf CLI and curl.
- Browser
- Download file 538 Bytes
-
https://huggingface.co/BiomedicalEvidencePlatform/pico-extractor/resolve/main/tokenizer_config.json
- Command line
-
hf download hf://BiomedicalEvidencePlatform/pico-extractor/tokenizer_config.json
-
curl -L -o tokenizer_config.json https://huggingface.co/BiomedicalEvidencePlatform/pico-extractor/resolve/main/tokenizer_config.json
538 Bytes
| { | |
| "backend": "tokenizers", | |
| "cls_token": "[CLS]", | |
| "do_basic_tokenize": true, | |
| "do_lower_case": true, | |
| "is_local": true, | |
| "local_files_only": false, | |
| "mask_token": "[MASK]", | |
| "max_length": 512, | |
| "model_max_length": 1000000000000000019884624838656, | |
| "never_split": null, | |
| "pad_token": "[PAD]", | |
| "sep_token": "[SEP]", | |
| "stride": 0, | |
| "strip_accents": null, | |
| "tokenize_chinese_chars": true, | |
| "tokenizer_class": "BertTokenizer", | |
| "truncation_side": "right", | |
| "truncation_strategy": "longest_first", | |
| "unk_token": "[UNK]" | |
| } | |