Asna-DifiNative commited on
Commit
2c772af
·
1 Parent(s): 94cbc61

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +27 -0
README.md CHANGED
@@ -1,3 +1,30 @@
1
  ---
2
  license: apache-2.0
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: apache-2.0
3
  ---
4
+ Fine-Tuned BART Model for CLI Command Generation
5
+ This repository contains a fine-tuned BART model for generating CLI commands from human instructions. The model is based on the Hugging Face Transformers library and has been fine-tuned on a dataset of human instructions and corresponding CLI commands.
6
+
7
+ Model Details
8
+ Model: BART (facebook/bart-large)
9
+ Task: CLI Command Generation from Human Instructions
10
+ Tokenizer: BART Tokenizer (facebook/bart-large)
11
+ Fine-Tuning Hyperparameters: num_epochs=8, batch_size=8, accumulation_steps=2, learning_rate=2e-5
12
+
13
+ Usage
14
+ You can use this model to generate CLI commands from human instructions. You can either directly use the model for inference or integrate it into applications using the provided Gradio interface.
15
+
16
+ Inference
17
+ To perform inference using the model, you can load it.
18
+
19
+ Gradio Interface
20
+ An interactive Gradio interface is provided for easy model interaction. You can run the interface by executing the code in gradio_app.py. The interface allows you to enter human instructions and get corresponding generated CLI commands.
21
+
22
+ Model Files
23
+ config.json: Model configuration file
24
+ pytorch_model.bin: Model weights
25
+ tokenizer.json: Tokenizer configuration file
26
+ vocab.txt: Vocabulary file
27
+
28
+ Acknowledgments
29
+ The initial BART model and tokenizer are from the Hugging Face Transformers library (facebook/bart-large).
30
+