readme: mention disabling of inference widget

#2
by stefan-it - opened
Files changed (1) hide show
  1. README.md +13 -0
README.md CHANGED
@@ -6,6 +6,7 @@ tags:
6
  - token-classification
7
  - sequence-tagger-model
8
  base_model: hmteams/teams-base-historic-multilingual-discriminator
 
9
  widget:
10
  - text: Cp . Eur . Phoen . 240 , 1 , αἷμα ddiov φλέγέι .
11
  ---
@@ -22,6 +23,18 @@ project.
22
 
23
  The following NEs were annotated: `pers`, `work`, `loc`, `object`, `date` and `scope`.
24
 
 
 
 
 
 
 
 
 
 
 
 
 
25
  # Results
26
 
27
  We performed a hyper-parameter search over the following parameters with 5 different seeds per configuration:
 
6
  - token-classification
7
  - sequence-tagger-model
8
  base_model: hmteams/teams-base-historic-multilingual-discriminator
9
+ inference: false
10
  widget:
11
  - text: Cp . Eur . Phoen . 240 , 1 , αἷμα ddiov φλέγέι .
12
  ---
 
23
 
24
  The following NEs were annotated: `pers`, `work`, `loc`, `object`, `date` and `scope`.
25
 
26
+ # ⚠️ Inference Widget ⚠️
27
+
28
+ Fine-Tuning ByT5 models in Flair is currently done by implementing an own [`ByT5Embedding`][1] class.
29
+
30
+ This class needs to be present when running the model with Flair.
31
+
32
+ Thus, the inference widget is not working with hmByT5 at the moment on the Model Hub and is currently disabled.
33
+
34
+ This should be fixed in future, when ByT5 fine-tuning is supported in Flair directly.
35
+
36
+ [1]: https://github.com/stefan-it/hmBench/blob/main/byt5_embeddings.py
37
+
38
  # Results
39
 
40
  We performed a hyper-parameter search over the following parameters with 5 different seeds per configuration: