limhyeonseok
commited on
Commit
β’
030ad7e
1
Parent(s):
84b6098
Update README.md
Browse files
README.md
CHANGED
@@ -99,9 +99,7 @@ pipeline = transformers.pipeline(
|
|
99 |
)
|
100 |
|
101 |
pipeline.model.eval()
|
102 |
-
|
103 |
-
PROMPT = '''λΉμ μ μ μ©ν AI μ΄μμ€ν΄νΈμ
λλ€. μ¬μ©μμ μ§μμ λν΄ μΉμ νκ³ μ ννκ² λ΅λ³ν΄μΌ ν©λλ€.
|
104 |
-
You are a helpful AI assistant, you'll need to answer users' queries in a friendly and accurate manner.'''
|
105 |
instruction = "μμΈκ³ΌνκΈ°μ λνκ΅ MLPμ°κ΅¬μ€μ λν΄ μκ°ν΄μ€"
|
106 |
|
107 |
messages = [
|
@@ -152,8 +150,7 @@ model = AutoModelForCausalLM.from_pretrained(
|
|
152 |
|
153 |
model.eval()
|
154 |
|
155 |
-
PROMPT = '''λΉμ μ
|
156 |
-
You are a helpful AI assistant, you'll need to answer users' queries in a friendly and accurate manner.'''
|
157 |
instruction = "μμΈκ³ΌνκΈ°μ λνκ΅ MLPμ°κ΅¬μ€μ λν΄ μκ°ν΄μ€"
|
158 |
|
159 |
messages = [
|
|
|
99 |
)
|
100 |
|
101 |
pipeline.model.eval()
|
102 |
+
PROMPT = '''You are a helpful AI assistant. Please answer the user's questions kindly. λΉμ μ μ λ₯ν AI μ΄μμ€ν΄νΈ μ
λλ€. μ¬μ©μμ μ§λ¬Έμ λν΄ μΉμ νκ² λ΅λ³ν΄μ£ΌμΈμ.'''
|
|
|
|
|
103 |
instruction = "μμΈκ³ΌνκΈ°μ λνκ΅ MLPμ°κ΅¬μ€μ λν΄ μκ°ν΄μ€"
|
104 |
|
105 |
messages = [
|
|
|
150 |
|
151 |
model.eval()
|
152 |
|
153 |
+
PROMPT = '''You are a helpful AI assistant. Please answer the user's questions kindly. λΉμ μ μ λ₯ν AI μ΄μμ€ν΄νΈ μ
λλ€. μ¬μ©μμ μ§λ¬Έμ λν΄ μΉμ νκ² λ΅λ³ν΄μ£ΌμΈμ.'''
|
|
|
154 |
instruction = "μμΈκ³ΌνκΈ°μ λνκ΅ MLPμ°κ΅¬μ€μ λν΄ μκ°ν΄μ€"
|
155 |
|
156 |
messages = [
|