QagentS commited on
Commit
bb86d19
·
verified ·
1 Parent(s): a596058

Upload LlamaForCausalLM

Browse files
Files changed (2) hide show
  1. README.md +12 -2
  2. config.json +1 -1
README.md CHANGED
@@ -15,7 +15,7 @@ tags:
15
  - function calling
16
  - unit tests
17
  - causalLM
18
- - codeLLAMA
19
  - instruction_tuned
20
  - basemodel
21
  - pytorch
@@ -26,7 +26,17 @@ metrics:
26
  - accuracy
27
  pipeline_tag: text-generation
28
  widget:
29
- - text: '<function_code>def _plot_bounding_polygon(polygons_coordinates, output_html_path=bounding_polygon_map.html):map_center = [sum([coord[0]for polygon_coords in polygons_coordinatesfor coord in polygon_coords])/ sum([len(polygon_coords) for polygon_coords in polygons_coordinates]),sum([coord[1]for polygon_coords in polygons_coordinatesfor coord in polygon_coords])/ sum([len(polygon_coords) for polygon_coords in polygons_coordinates]),]my_map = folium.Map(location=map_center, 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 = MarkerCluster().add_to(my_map)for polygon_coords in polygons_coordinates:for coord in polygon_coords:folium.Marker(location=[coord[0], coord[1]], popup=fCoordinates: {coord}).add_to(marker_cluster)draw = Draw(export=True)draw.add_to(my_map)my_map.save(output_html_path)return output_html_path</function_code><question>Document the python code above giving function description ,parameters and return type and example how to call the function</question><doc>'
 
 
 
 
 
 
 
 
 
 
30
  example_title: example
31
  ---
32
  # pip-library-etl-1.3b
 
15
  - function calling
16
  - unit tests
17
  - causalLM
18
+ - codeLLAMA
19
  - instruction_tuned
20
  - basemodel
21
  - pytorch
 
26
  - accuracy
27
  pipeline_tag: text-generation
28
  widget:
29
+ - text: '<function_code>def _plot_bounding_polygon(polygons_coordinates, output_html_path=bounding_polygon_map.html):map_center
30
+ = [sum([coord[0]for polygon_coords in polygons_coordinatesfor coord in polygon_coords])/
31
+ sum([len(polygon_coords) for polygon_coords in polygons_coordinates]),sum([coord[1]for
32
+ polygon_coords in polygons_coordinatesfor coord in polygon_coords])/ sum([len(polygon_coords)
33
+ for polygon_coords in polygons_coordinates]),]my_map = folium.Map(location=map_center,
34
+ 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
35
+ = MarkerCluster().add_to(my_map)for polygon_coords in polygons_coordinates:for
36
+ coord in polygon_coords:folium.Marker(location=[coord[0], coord[1]], popup=fCoordinates:
37
+ {coord}).add_to(marker_cluster)draw = Draw(export=True)draw.add_to(my_map)my_map.save(output_html_path)return
38
+ output_html_path</function_code><question>Document the python code above giving
39
+ function description ,parameters and return type and example how to call the function</question><doc>'
40
  example_title: example
41
  ---
42
  # pip-library-etl-1.3b
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "/content/drive/My Drive/pip-code-bandit-275000/",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
1
  {
2
+ "_name_or_path": "PipableAI/pip-code-bandi-testv1",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],