Update app.py
Browse files
app.py
CHANGED
@@ -108,8 +108,8 @@ def search(query, num_results=10):
|
|
108 |
return process_results(results, query)
|
109 |
|
110 |
|
111 |
-
description = """# <p style="text-align: center;"><span style='color: #e6b800;'>
|
112 |
-
<span>When using <a href="https://huggingface.co/bigcode/starcoder2-15b" style="color: #e6b800;">
|
113 |
|
114 |
theme = gr.themes.Monochrome(
|
115 |
primary_hue="indigo",
|
|
|
108 |
return process_results(results, query)
|
109 |
|
110 |
|
111 |
+
description = """# <p style="text-align: center;"><span style='color: #e6b800;'>StarCoder2:</span> Dataset Search π </p>
|
112 |
+
<span>When using <a href="https://huggingface.co/bigcode/starcoder2-15b" style="color: #e6b800;">StarCoder2</a> to generate code, it might produce close or exact copies of code in the pretraining dataset. Identifying such cases can provide important context, and help credit the original developer of the code. With this search tool, our aim is to help in identifying if the code belongs to an existing repository. For exact matches, enclose your query in double quotes. <br><br><i>This first iteration of the search tool truncates queries down to 200 characters, so as not to overwhelm the server it is currently running on. Please not that this is not a production-ready app, but rather a research tool that we make available as a proof-of-concept. If you need a reliable search app for your business or research, we would advise you to index the dataset yourself.</i></span>"""
|
113 |
|
114 |
theme = gr.themes.Monochrome(
|
115 |
primary_hue="indigo",
|