CindyDelage commited on
Commit
0145ad5
·
verified ·
1 Parent(s): 9a929f5

Update retriever.py

Browse files
Files changed (1) hide show
  1. retriever.py +1 -1
retriever.py CHANGED
@@ -22,7 +22,7 @@ def pruning():
22
  Optimizes models by removing unnecessary components, such as certain weights in a neural network.
23
  This function demonstrates how to apply pruning.
24
  """
25
- code = "model = apply_pruning(model, amount=0.3)""
26
  return (
27
  f"To apply pruning to a model, use the following code snippet: {code}. "
28
  f"You should adapt it to your actual implementation. In particular, the 'amount' parameter "
 
22
  Optimizes models by removing unnecessary components, such as certain weights in a neural network.
23
  This function demonstrates how to apply pruning.
24
  """
25
+ code = "model = apply_pruning(model, amount=0.3)"
26
  return (
27
  f"To apply pruning to a model, use the following code snippet: {code}. "
28
  f"You should adapt it to your actual implementation. In particular, the 'amount' parameter "