histlearn commited on
Commit
c4c7e7e
·
verified ·
1 Parent(s): 057555f

fix: remove library_name: peft (Opcao B) + aviso no card sobre snippet incompleto do widget

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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