File size: 910 Bytes
0c1e49a
 
 
 
45c2e3c
 
8d4afcd
0c1e49a
 
 
 
adb6e72
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# How to Develop
1. Create hub space from web.
2. Clone that repository like `git clone https://huggingface.co/spaces/hitachi-nlp/FLD-metrics`
3. Update the repository.
    - **Note that the repository name and the main script name must be the same, e.g., `hitachi-nlp/FLD_metrics` and `FLD_metrics.py`**
    - See [here](https://huggingface.co/spaces/evaluate-metric/accuracy/tree/main) for how to write scripts.
    - We have to delete html and css files if we want to show the README.md at the top page.
4. Push to the hub like `git push git@hf.co:spaces/hitachi-nlp/FLD-metrics main`


# References
* [Creating and sharing a new evaluation](https://huggingface.co/docs/evaluate/creating_and_sharing)
* [evaluate-metric/accuracy at main](https://huggingface.co/spaces/evaluate-metric/accuracy/tree/main)
* [evaluate-metric/mase at main](https://huggingface.co/spaces/evaluate-metric/mase/blob/main/mase.py)