Upload LlamaForCausalLM
Browse files- README.md +15 -1
- config.json +2 -2
- generation_config.json +1 -1
- model-00001-of-00002.safetensors +1 -1
- model-00002-of-00002.safetensors +1 -1
README.md
CHANGED
@@ -25,7 +25,21 @@ metrics:
|
|
25 |
- accuracy
|
26 |
pipeline_tag: text-generation
|
27 |
widget:
|
28 |
-
- text: '<example_response>--code:def function_divide2(x): return x / 2--question:Document
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
example_title: example
|
30 |
---
|
31 |
# pip-library-etl-1.3b
|
|
|
25 |
- accuracy
|
26 |
pipeline_tag: text-generation
|
27 |
widget:
|
28 |
+
- text: '<example_response>--code:def function_divide2(x): return x / 2--question:Document
|
29 |
+
the code--doc:Description:This function takes a number and divides it by 2.Parameters:-
|
30 |
+
x (numeric): The input value to be divided by 2.Returns:- float: The result of
|
31 |
+
x divided by 2.Example:To call the function, use the following code:function_divide2(1.0)</example_response><function_code>def
|
32 |
+
_plot_bounding_polygon(polygons_coordinates, output_html_path=bounding_polygon_map.html):map_center
|
33 |
+
= [sum([coord[0]for polygon_coords in polygons_coordinatesfor coord in polygon_coords])/
|
34 |
+
sum([len(polygon_coords) for polygon_coords in polygons_coordinates]),sum([coord[1]for
|
35 |
+
polygon_coords in polygons_coordinatesfor coord in polygon_coords])/ sum([len(polygon_coords)
|
36 |
+
for polygon_coords in polygons_coordinates]),]my_map = folium.Map(location=map_center,
|
37 |
+
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
|
38 |
+
= MarkerCluster().add_to(my_map)for polygon_coords in polygons_coordinates:for
|
39 |
+
coord in polygon_coords:folium.Marker(location=[coord[0], coord[1]], popup=fCoordinates:
|
40 |
+
{coord}).add_to(marker_cluster)draw = Draw(export=True)draw.add_to(my_map)my_map.save(output_html_path)return
|
41 |
+
output_html_path</function_code><question>Document the python code above giving
|
42 |
+
function description ,parameters and return type and example how to call the function</question><doc>'
|
43 |
example_title: example
|
44 |
---
|
45 |
# pip-library-etl-1.3b
|
config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "PipableAI/pip-
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
@@ -25,7 +25,7 @@
|
|
25 |
"rope_theta": 100000,
|
26 |
"tie_word_embeddings": false,
|
27 |
"torch_dtype": "float32",
|
28 |
-
"transformers_version": "4.
|
29 |
"use_cache": true,
|
30 |
"vocab_size": 32256
|
31 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "PipableAI/pip-code-bandit-v1",
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
|
|
25 |
"rope_theta": 100000,
|
26 |
"tie_word_embeddings": false,
|
27 |
"torch_dtype": "float32",
|
28 |
+
"transformers_version": "4.40.2",
|
29 |
"use_cache": true,
|
30 |
"vocab_size": 32256
|
31 |
}
|
generation_config.json
CHANGED
@@ -2,5 +2,5 @@
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 32013,
|
4 |
"eos_token_id": 32021,
|
5 |
-
"transformers_version": "4.
|
6 |
}
|
|
|
2 |
"_from_model_config": true,
|
3 |
"bos_token_id": 32013,
|
4 |
"eos_token_id": 32021,
|
5 |
+
"transformers_version": "4.40.2"
|
6 |
}
|
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:55b8ce1c38fc4f6a97f70e759fd5097a086cf1b55c50b6d44536cca34ac3798b
|
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:a9818448565df239f1bc4b63e3d81c7879feac85272092c26709f60ecf679494
|
3 |
size 399532808
|