Text Generation
PEFT
Safetensors
Portuguese
text-classification
community-notes
portuguese
reranker
lora
misinformation
Instructions to use histlearn/community-notes-reranker-ptbr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use histlearn/community-notes-reranker-ptbr with PEFT:
Task type is invalid.
- Notebooks
- Google Colab
- Kaggle
fix: remove library_name: peft (Opcao B) + aviso no card sobre snippet incompleto do widget
Browse files
README.md
CHANGED
|
@@ -1,7 +1,6 @@
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: Qwen/Qwen3-Reranker-0.6B
|
| 4 |
-
library_name: peft
|
| 5 |
language:
|
| 6 |
- pt
|
| 7 |
tags:
|
|
@@ -13,7 +12,6 @@ tags:
|
|
| 13 |
- peft
|
| 14 |
- misinformation
|
| 15 |
pipeline_tag: text-generation
|
| 16 |
-
inference: false
|
| 17 |
---
|
| 18 |
|
| 19 |
# Community Notes Reranker (PT-BR)
|
|
@@ -41,6 +39,8 @@ O Qwen3-Reranker é treinado nativamente como julgador de pares: emite `yes` ou
|
|
| 41 |
|
| 42 |
## Como usar
|
| 43 |
|
|
|
|
|
|
|
| 44 |
```python
|
| 45 |
import json, torch
|
| 46 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
|
|
|
| 1 |
---
|
| 2 |
license: apache-2.0
|
| 3 |
base_model: Qwen/Qwen3-Reranker-0.6B
|
|
|
|
| 4 |
language:
|
| 5 |
- pt
|
| 6 |
tags:
|
|
|
|
| 12 |
- peft
|
| 13 |
- misinformation
|
| 14 |
pipeline_tag: text-generation
|
|
|
|
| 15 |
---
|
| 16 |
|
| 17 |
# Community Notes Reranker (PT-BR)
|
|
|
|
| 39 |
|
| 40 |
## Como usar
|
| 41 |
|
| 42 |
+
> ⚠️ **Ignore o snippet gerado pelo botão "Use this model" da sidebar.** O widget genérico do HF não conhece a combinação cross-encoder + LoRA + saída yes/no desta arquitetura e gera código incompleto (não carrega o adapter). Use o snippet abaixo, que é o uso correto.
|
| 43 |
+
|
| 44 |
```python
|
| 45 |
import json, torch
|
| 46 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|