Spaces:
Runtime error
Runtime error
Commit
·
a8da5fe
1
Parent(s):
d780e7e
Examples and README
Browse files
README.md
CHANGED
|
@@ -10,4 +10,11 @@ pinned: false
|
|
| 10 |
short_description: Nova 6.7B Space
|
| 11 |
---
|
| 12 |
|
| 13 |
-
This is a space for testing the [Nova 6.7B binary code recovery model](https://huggingface.co/lt-asset/nova-6.7b-bcr). For more information about the model, please refer to the [model card](https://huggingface.co/lt-asset/nova-6.7b-bcr).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
short_description: Nova 6.7B Space
|
| 11 |
---
|
| 12 |
|
| 13 |
+
This is a space for testing the [Nova 6.7B binary code recovery model](https://huggingface.co/lt-asset/nova-6.7b-bcr). For more information about the model, please refer to the [model card](https://huggingface.co/lt-asset/nova-6.7b-bcr).
|
| 14 |
+
|
| 15 |
+
# Known Issues
|
| 16 |
+
|
| 17 |
+
* The model utility code only works with older versions of `transformers`.
|
| 18 |
+
* The model assumes that the input assembly code is "normalized" but it does not
|
| 19 |
+
appear to provide the code required to do this. Thus it is not possible to
|
| 20 |
+
run the model on new assembly code examples.
|
app.py
CHANGED
|
@@ -52,6 +52,6 @@ demo = gr.Interface(
|
|
| 52 |
inputs=[gr.Text(label="Optimization Type", value="O0"), gr.Text(label="Normalized Assembly Code")],
|
| 53 |
outputs=gr.Text(label="Raw Nova Output"),
|
| 54 |
description=frontmatter.load("README.md").content,
|
| 55 |
-
|
| 56 |
)
|
| 57 |
demo.launch()
|
|
|
|
| 52 |
inputs=[gr.Text(label="Optimization Type", value="O0"), gr.Text(label="Normalized Assembly Code")],
|
| 53 |
outputs=gr.Text(label="Raw Nova Output"),
|
| 54 |
description=frontmatter.load("README.md").content,
|
| 55 |
+
examples=[[ex["type"], ex["normalized_asm"]] for ex in examples]
|
| 56 |
)
|
| 57 |
demo.launch()
|