QagentS commited on
Commit
936fe38
1 Parent(s): a2b7feb

Upload LlamaForCausalLM

Browse files
Files changed (2) hide show
  1. README.md +15 -1
  2. config.json +1 -1
README.md CHANGED
@@ -27,7 +27,21 @@ metrics:
27
  - accuracy
28
  pipeline_tag: text-generation
29
  widget:
30
- - text: '<example_response>--code:def function_divide2(x): return x / 2--question:Document the code--doc:Description:This function takes a number and divides it by 2.Parameters:- x (numeric): The input value to be divided by 2.Returns:- float: The result of x divided by 2.Example:To call the function, use the following code:function_divide2(1.0)</example_response><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>'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  example_title: example
32
  ---
33
  # pip-code-bandit
 
27
  - accuracy
28
  pipeline_tag: text-generation
29
  widget:
30
+ - text: '<example_response>--code:def function_divide2(x): return x / 2--question:Document
31
+ the code--doc:Description:This function takes a number and divides it by 2.Parameters:-
32
+ x (numeric): The input value to be divided by 2.Returns:- float: The result of
33
+ x divided by 2.Example:To call the function, use the following code:function_divide2(1.0)</example_response><function_code>def
34
+ _plot_bounding_polygon(polygons_coordinates, output_html_path=bounding_polygon_map.html):map_center
35
+ = [sum([coord[0]for polygon_coords in polygons_coordinatesfor coord in polygon_coords])/
36
+ sum([len(polygon_coords) for polygon_coords in polygons_coordinates]),sum([coord[1]for
37
+ polygon_coords in polygons_coordinatesfor coord in polygon_coords])/ sum([len(polygon_coords)
38
+ for polygon_coords in polygons_coordinates]),]my_map = folium.Map(location=map_center,
39
+ 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
40
+ = MarkerCluster().add_to(my_map)for polygon_coords in polygons_coordinates:for
41
+ coord in polygon_coords:folium.Marker(location=[coord[0], coord[1]], popup=fCoordinates:
42
+ {coord}).add_to(marker_cluster)draw = Draw(export=True)draw.add_to(my_map)my_map.save(output_html_path)return
43
+ output_html_path</function_code><question>Document the python code above giving
44
+ function description ,parameters and return type and example how to call the function</question><doc>'
45
  example_title: example
46
  ---
47
  # pip-code-bandit
config.json CHANGED
@@ -1,5 +1,5 @@
1
  {
2
- "_name_or_path": "PipableAI/pip-code-bandi-testv1",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
 
1
  {
2
+ "_name_or_path": "PipableAI/pip-code-bandit-v1",
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],