mrm8488 commited on
Commit
b94a8d6
β€’
1 Parent(s): e067c58

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -3
app.py CHANGED
@@ -6,9 +6,8 @@ device = 'cuda' if torch.cuda.is_available() else 'cpu'
6
 
7
  title = "Santacoder bash/shell Completion πŸŽ…"
8
  description = "This is a subspace to make code generation with [SantaCoder fine-tuned on The Stack bash/shell](https://huggingface.co/mrm8488/santacoder-finetuned-the-stack-bash-4)"
9
- EXAMPLE_0 = "#!/bin/bash\n# This script read the files in the current dir and remove it if greater than 2MB"
10
- examples = [
11
- [EXAMPLE_0, 128, 0.6, 42]]
12
  tokenizer = AutoTokenizer.from_pretrained("mrm8488/santacoder-finetuned-the-stack-bash-4")
13
  model = AutoModelForCausalLM.from_pretrained("mrm8488/santacoder-finetuned-the-stack-bash-4", trust_remote_code=True).to(device)
14
 
 
6
 
7
  title = "Santacoder bash/shell Completion πŸŽ…"
8
  description = "This is a subspace to make code generation with [SantaCoder fine-tuned on The Stack bash/shell](https://huggingface.co/mrm8488/santacoder-finetuned-the-stack-bash-4)"
9
+ EXAMPLE_0 = ""#!/bin/bash\n# This script removes files larger than 2MB in the current folder\nfind ."
10
+ examples = [[EXAMPLE_0, 14, 0.6, 42]]
 
11
  tokenizer = AutoTokenizer.from_pretrained("mrm8488/santacoder-finetuned-the-stack-bash-4")
12
  model = AutoModelForCausalLM.from_pretrained("mrm8488/santacoder-finetuned-the-stack-bash-4", trust_remote_code=True).to(device)
13