Upload LlamaForCausalLM
Browse files- README.md +20 -6
- config.json +1 -1
- model-00001-of-00002.safetensors +1 -1
- model-00002-of-00002.safetensors +1 -1
README.md
CHANGED
|
@@ -1,11 +1,8 @@
|
|
| 1 |
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
language:
|
| 4 |
- en
|
| 5 |
-
|
| 6 |
-
- accuracy
|
| 7 |
library_name: transformers
|
| 8 |
-
pipeline_tag: text-generation
|
| 9 |
tags:
|
| 10 |
- python
|
| 11 |
- document
|
|
@@ -17,9 +14,26 @@ tags:
|
|
| 17 |
- docstring
|
| 18 |
- documentation
|
| 19 |
- text-generation-inference
|
|
|
|
|
|
|
|
|
|
| 20 |
widget:
|
| 21 |
-
- text:
|
| 22 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
---
|
| 24 |
# pip-code-to-doc
|
| 25 |
|
|
|
|
| 1 |
---
|
|
|
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: apache-2.0
|
|
|
|
| 5 |
library_name: transformers
|
|
|
|
| 6 |
tags:
|
| 7 |
- python
|
| 8 |
- document
|
|
|
|
| 14 |
- docstring
|
| 15 |
- documentation
|
| 16 |
- text-generation-inference
|
| 17 |
+
metrics:
|
| 18 |
+
- accuracy
|
| 19 |
+
pipeline_tag: text-generation
|
| 20 |
widget:
|
| 21 |
+
- text: '<example_response>--code:def function_divide2(x): return x / 2--question:Document
|
| 22 |
+
the code--doc:Description:This function takes a number and divides it by 2.Parameters:-
|
| 23 |
+
x (numeric): The input value to be divided by 2.Returns:- float: The result of
|
| 24 |
+
x divided by 2.Example:To call the function, use the following code:function_divide2(1.0)</example_response><function_code>def
|
| 25 |
+
_plot_bounding_polygon(polygons_coordinates, output_html_path=bounding_polygon_map.html):map_center
|
| 26 |
+
= [sum([coord[0]for polygon_coords in polygons_coordinatesfor coord in polygon_coords])/
|
| 27 |
+
sum([len(polygon_coords) for polygon_coords in polygons_coordinates]),sum([coord[1]for
|
| 28 |
+
polygon_coords in polygons_coordinatesfor coord in polygon_coords])/ sum([len(polygon_coords)
|
| 29 |
+
for polygon_coords in polygons_coordinates]),]my_map = folium.Map(location=map_center,
|
| 30 |
+
zoom_start=12)for polygon_coords in polygons_coordinates:folium.Polygon(locations=polygon_coords,color=blue,fill=True,fill_color=blue,fill_opacity=0.2,).add_to(my_map)marker_cluster
|
| 31 |
+
= MarkerCluster().add_to(my_map)for polygon_coords in polygons_coordinates:for
|
| 32 |
+
coord in polygon_coords:folium.Marker(location=[coord[0], coord[1]], popup=fCoordinates:
|
| 33 |
+
{coord}).add_to(marker_cluster)draw = Draw(export=True)draw.add_to(my_map)my_map.save(output_html_path)return
|
| 34 |
+
output_html_path</function_code><question>Document the python code above giving
|
| 35 |
+
function description ,parameters and return type and example how to call the function</question><doc>'
|
| 36 |
+
example_title: example
|
| 37 |
---
|
| 38 |
# pip-code-to-doc
|
| 39 |
|
config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "PipableAI/
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "PipableAI/pipSQL-mariadb-performance-schema-1.3b",
|
| 3 |
"architectures": [
|
| 4 |
"LlamaForCausalLM"
|
| 5 |
],
|
model-00001-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 4986380064
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7ae1d823c7ee6db0ef2c9dd7ec169c15ec5288486fae771ca72b7352632a157b
|
| 3 |
size 4986380064
|
model-00002-of-00002.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 399532808
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8e643aea7afc2783b3102648c77ce9933ea32426a8000b3b8efc59b2aad566f2
|
| 3 |
size 399532808
|