Skip to content

Commit e6bb831

Browse files
committed
add periods
1 parent 7f4bfa8 commit e6bb831

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/create_lilypad_module/templates/scripts/download_models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
import sys
22

3-
# TODO: Update ../requirements.txt
3+
# TODO: Update `../requirements.txt`.
44
# from transformers import AutoTokenizer, AutoModelForSequenceClassification
55

66

77
def download_models():
8-
# TODO: Set this to your model's Hugging Face identifier
8+
# TODO: Set this to your model's Hugging Face identifier.
99
MODEL_IDENTIFIER = ""
1010

1111
# TODO: Configure the model(s) needed for this module.
12-
# Download the model(s) and tokenizer(s) for your module from the Hugging Face model hub
12+
# Download the model(s) and tokenizer(s) for your module from the Hugging Face model hub.
1313
# https://huggingface.co/docs/hub/en/models-downloading
1414
if not MODEL_IDENTIFIER:
1515
print(
@@ -22,7 +22,7 @@ def download_models():
2222

2323
try:
2424
print(f"Downloading model `{MODEL_IDENTIFIER}`...")
25-
# TODO: Initialize `model` and `tokenizer`
25+
# TODO: Initialize `model` and `tokenizer`.
2626
# tokenizer = AutoTokenizer.from_pretrained(MODEL_IDENTIFIER)
2727
# model = AutoModelForSequenceClassification.from_pretrained(MODEL_IDENTIFIER)
2828
tokenizer.save_pretrained("./models")

src/create_lilypad_module/templates/src/run_inference.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import traceback
44
import json
55

6-
# TODO: Update ../requirements.txt
6+
# TODO: Update `../requirements.txt`.
77
# import torch
88
# from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
99

@@ -48,7 +48,7 @@ def main():
4848
output = {"input": input, "status": "error"}
4949

5050
try:
51-
# TODO: Initialize `model` and `tokenizer`
51+
# TODO: Initialize `model` and `tokenizer`.
5252
# model = AutoModelForSeq2SeqLM.from_pretrained(model_directory)
5353
# tokenizer = AutoTokenizer.from_pretrained(model_directory)
5454

0 commit comments

Comments
 (0)